From e1822c2b66f9d7f071a31d90253fb4a7e463b651 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 3 May 2015 23:07:31 +0200 Subject: [PATCH] schemacheck hint in newly installed config.php --- lib/installer.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- 2.39.5