HOR-1422
CLONE - 18567: upgrade [workspace] command block all the system HOR-1422 CLONE - 18567: upgrade [workspace] command block all the system
This commit is contained in:
@@ -223,12 +223,14 @@
|
||||
// the request correspond to valid php page, now parse the URI
|
||||
G::parseURI(getenv("REQUEST_URI"), $isRestRequest);
|
||||
|
||||
if(G::isPMUnderUpdating())
|
||||
{
|
||||
header("location: /update/updating.php");
|
||||
if ( DEBUG_TIME_LOG ) G::logTimeByPage();
|
||||
die;
|
||||
}
|
||||
$arrayUpdating = G::isPMUnderUpdating();
|
||||
if ($arrayUpdating['action']) {
|
||||
if ($arrayUpdating['workspace'] == "true" || $arrayUpdating['workspace'] == SYS_TEMP) {
|
||||
header("location: /update/updating.php");
|
||||
if (DEBUG_TIME_LOG) G::logTimeByPage();
|
||||
die;
|
||||
}
|
||||
}
|
||||
|
||||
// verify if index.html exists
|
||||
if (!file_exists(PATH_HTML . 'index.html')) { // if not, create it from template
|
||||
|
||||
Reference in New Issue
Block a user