diff --git a/install.php b/install.php index 5c452600..20806661 100644 --- a/install.php +++ b/install.php @@ -16,8 +16,6 @@ if(file_exists($config['has_installed'])) { - sql_open(); - // Check the version number $version = trim(file_get_contents($config['has_installed'])); if(empty($version)) @@ -393,8 +391,6 @@ buildJavascript(); - sql_open(); - $sql = @file_get_contents('install.sql') or error("Couldn't load install.sql."); // This code is probably horrible, but what I'm trying