]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
schemacheck hint in newly installed config.php
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 3 May 2015 21:07:31 +0000 (23:07 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 3 May 2015 21:07:31 +0000 (23:07 +0200)
lib/installer.php

index 9e2936ca82dc5860c10e00827197787fef4c24ac..eb7c5c8690160a77f0c52c0b7a36a512b7731cd8 100644 (file)
@@ -424,7 +424,11 @@ abstract class Installer
                 // database
                 "\$config['db']['database'] = {$vals['db_database']};\n\n".
                 ($this->db['type'] == 'pgsql' ? "\$config['db']['quote_identifiers'] = true;\n\n":'').
-                "\$config['db']['type'] = {$vals['db_type']};\n\n";
+                "\$config['db']['type'] = {$vals['db_type']};\n\n".
+
+                "// Uncomment below for better performance. Just remember you must run\n".
+                "// php scripts/checkschema.php whenever your enabled plugins change!\n".
+                "//\$config['db']['schemacheck'] = 'script';\n\n";
 
         // Normalize line endings for Windows servers
         $cfg = str_replace("\n", PHP_EOL, $cfg);