1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-20 04:31:23 +01:00

Fix last commit (mysql_version() doesn't work if connection is not yet established)

This commit is contained in:
Michael Foster 2013-07-30 22:13:05 -04:00
parent a01f53b4a4
commit 3fe91dcd37

View File

@ -249,6 +249,7 @@ if (file_exists($config['has_installed'])) {
}
}
case 'v0.9.6-dev-9':
sql_open();
function __query($sql) {
if (mysql_version() >= 50503)
return query($sql);