mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 11:21:17 +02:00
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
--- ./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)) {
|