mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2025-04-03 10:08:55 -04:00
Fix version check
This commit is contained in:
parent
2ab9cf435e
commit
88c9c7d20f
@ -67,7 +67,7 @@ if($db->getSetting($mysqli,"dbConfigVersion") != trim($appversion)){
|
||||
die("Database needs to be updated. Please update the database and try again. App Version: '".$appversion."' DB Settings Version: '".$db->getSetting($mysqli,"dbConfigVersion")."'.");
|
||||
}
|
||||
$useedf = fopen("updateseed", "r") or die("Unable to open updateseed file!");
|
||||
$useed = fread($versionfile,filesize("updateseed"));
|
||||
$useed = fread($useedf,filesize("updateseed"));
|
||||
fclose($useedf);
|
||||
if(trim($useed) == "stable"){
|
||||
$remoteversion = file_get_contents("https://skkyfallenhosted.ml/serverstatus/versionauthority/stable/version");
|
||||
|
Loading…
Reference in New Issue
Block a user