schemacheck hint in newly installed config.php

This commit is contained in:
Mikael Nordfeldth 2015-05-03 23:07:31 +02:00
parent cd42ee7e85
commit e1822c2b66

View File

@ -424,7 +424,11 @@ abstract class Installer
// database // database
"\$config['db']['database'] = {$vals['db_database']};\n\n". "\$config['db']['database'] = {$vals['db_database']};\n\n".
($this->db['type'] == 'pgsql' ? "\$config['db']['quote_identifiers'] = true;\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 // Normalize line endings for Windows servers
$cfg = str_replace("\n", PHP_EOL, $cfg); $cfg = str_replace("\n", PHP_EOL, $cfg);