From ee5dfd39e4b655d236f5e47beeb8b71fbdd034cc Mon Sep 17 00:00:00 2001 From: Ralph Asendeteufrer Date: Tue, 16 Oct 2012 10:53:36 -0400 Subject: [PATCH] BUG 9814 Proposal pivot skin: UNDER CONSTRUCTION PROBLEM There is not a page to show up if PM is under updating. SOLUTION Add a page to be displayed only if PM is updating. --- gulliver/system/class.g.php | 2 +- workflow/public_html/sysGeneric.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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");