Remove debug lines

This commit is contained in:
Yiğit Kerem Oktay 2020-08-16 22:29:42 +03:00 committed by GitHub
parent 9c6813cff6
commit 7c83e0007f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -59,10 +59,9 @@ $db = new SSDB();
$versionfile = fopen("versionfile", "r") or die("Unable to open version file!");
$appversion = fread($versionfile,filesize("versionfile"));
fclose($versionfile);
/*if($db->getSetting($mysqli,"dbConfigVersion") != $appversion){
die("Database needs to be updated. Please update the database and try again.");
}*/
die($appversion);
if($db->getSetting($mysqli,"dbConfigVersion") != $appversion){
die("Database needs to be updated. Please update the database and try again. App Version: '".$appversion."' DB Settings Version: '".$db->getSetting($mysqli,"dbConfigVersion")."'.");
}
Template::render_header("Status");
?>
<div class="text-center">