From: Mikael Nordfeldth Date: Sun, 3 May 2015 21:07:31 +0000 (+0200) Subject: schemacheck hint in newly installed config.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e1822c2b66f9d7f071a31d90253fb4a7e463b651;p=quix0rs-gnu-social.git schemacheck hint in newly installed config.php --- diff --git a/lib/installer.php b/lib/installer.php index 9e2936ca82..eb7c5c8690 100644 --- a/lib/installer.php +++ b/lib/installer.php @@ -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);