Merge pull request #992 from ralpheav/master
Adding fix for installation incomplete loading.
This commit is contained in:
@@ -469,6 +469,10 @@ class Bootstrap
|
||||
* return true if the file exists, otherwise false.
|
||||
*/
|
||||
public function isPMUnderUpdating($setFlag = 2) {
|
||||
if (!defined('PATH_DATA')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$fileCheck = PATH_DATA . "UPDATE.dat";
|
||||
if ($setFlag == 0) {
|
||||
if (file_exists ( $fileCheck )) {
|
||||
|
||||
Reference in New Issue
Block a user