fix: Don't lock the schema during install.php (#7051)

This commit is contained in:
Tony Murray
2017-07-18 20:07:21 +01:00
committed by Neil Lathwood
parent dedfc6c1d8
commit 8e85eebe32
3 changed files with 12 additions and 4 deletions
+2 -1
View File
@@ -25,7 +25,7 @@
*/
if (!isset($init_modules)) {
$opts = getopt('dh:u:p:n:t:s:');
$opts = getopt('ldh:u:p:n:t:s:');
$db_vars = array(
'db_host' => 'h',
@@ -47,6 +47,7 @@ if (!isset($init_modules)) {
require __DIR__ . '/includes/init.php';
$debug = isset($opts['d']);
$skip_schema_lock = isset($opts['l']);
}
require 'includes/sql-schema/update.php';