mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
removed sql_open call which was made unnecessary previously
This commit is contained in:
parent
8b4f3c3754
commit
cbcf39dfe7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user