diff options
author | Fabian Affolter <fabian@bernewireless.net> | 2011-07-05 19:40:43 +0200 |
---|---|---|
committer | Fabian Affolter <fabian@bernewireless.net> | 2011-07-05 19:40:43 +0200 |
commit | 7f9851115264bca9bce3926ddb29e533a23929dd (patch) | |
tree | b0426fc489e4dad582f34b25d6f93354a65f5c0f /testing/poweradmin/0010-fix-installer-config.patch | |
parent | 5dac3f219058736f6e19b7bec2b1cc2b1b300981 (diff) | |
parent | 269fc1049583d36e07153215fe535f88947ea98b (diff) | |
download | aports-7f9851115264bca9bce3926ddb29e533a23929dd.tar.bz2 aports-7f9851115264bca9bce3926ddb29e533a23929dd.tar.xz |
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'testing/poweradmin/0010-fix-installer-config.patch')
-rw-r--r-- | testing/poweradmin/0010-fix-installer-config.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/poweradmin/0010-fix-installer-config.patch b/testing/poweradmin/0010-fix-installer-config.patch new file mode 100644 index 0000000000..11dd435163 --- /dev/null +++ b/testing/poweradmin/0010-fix-installer-config.patch @@ -0,0 +1,31 @@ +--- ./install/index.php.orig ++++ ./install/index.php +@@ -287,11 +287,27 @@ + "\$db_port\t\t= '" . $_POST['db_port'] . "';\n" . + "\$db_type\t\t= '" . $_POST['db_type'] . "';\n" . + "\n" . +- "\$iface_lang\t\t= '" . $_POST['language'] . "';\n" . ++ "\$iface_lang\t\t= '" . $_POST['language'] . "';\n" . ++ "\$iface_style\t\t= ". "'example';\n" . ++ "\$iface_rowamount\t=". "50;\n" . ++ "\$iface_expire\t\t=". "1800;\n" . ++ "\$iface_zonelist_serial\t=". "false;\n" . ++ "\$iface_title\t\t=". "'Poweradmin';\n" . + "\n" . + "\$dns_hostmaster\t\t= '" . $_POST['dns_hostmaster'] . "';\n" . + "\$dns_ns1\t\t= '" . $_POST['dns_ns1'] . "';\n" . + "\$dns_ns2\t\t= '" . $_POST['dns_ns2'] . "';\n" . ++ "\n" . ++ "// See <http://www.php.net/manual/en/timezones.php> for help.\n" . ++ "//\$timezone\t\t=". "'UTC';\n" . ++ "\n" . ++ "/* Syslog usage - writes authentication attempts to syslog\n" . ++ " This facility could be used in combination with fail2ban to\n" . ++ " ban IPs with break-in attempts\n" . ++ "*/\n" . ++ "\$syslog_use = false;\n" . ++ "\$syslog_ident = 'poweradmin';\n" . ++ "\$syslog_facility = LOG_USER;\n" . + "\n?>\n"; + + if (is_writeable($local_config_file)) { |