diff --git a/gulliver/system/class.g.php b/gulliver/system/class.g.php index b68e58bda..1f979e6a7 100755 --- a/gulliver/system/class.g.php +++ b/gulliver/system/class.g.php @@ -5503,7 +5503,7 @@ function getDirectorySize($path,$maxmtime=0) */ function isPMUnderUpdating($setFlag = 2) { - $fileCheck = PATH_TRUNK."UPDATE.dat"; + $fileCheck = PATH_DATA."UPDATE.dat"; if($setFlag == 0){ if (file_exists($fileCheck)){ unlink ($fileCheck); diff --git a/workflow/public_html/sysGeneric.php b/workflow/public_html/sysGeneric.php index 3bca3ea7f..caf261b68 100755 --- a/workflow/public_html/sysGeneric.php +++ b/workflow/public_html/sysGeneric.php @@ -273,7 +273,6 @@ // the request correspond to valid php page, now parse the URI G::parseURI(getenv("REQUEST_URI"), $isRestRequest); - //if(isset($_SERVER['Updating']) && $_SERVER['Updating'] == true) if(G::isPMUnderUpdating()) { header("location: /update/updating.php");