From e929d810424fdfc07d207c384db0aea3d28fb291 Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Mon, 12 Nov 2012 13:19:32 -0400 Subject: [PATCH] BUG 10052 Problema al realizar instalacion de cero en tetsing.2 SOLVED - Missing validation whhit PATH_DATA constant in new function isPMUnderUpdating - Add validation when PATH_DATA doesn' exists --- gulliver/system/class.g.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gulliver/system/class.g.php b/gulliver/system/class.g.php index baab52139..80d8b173b 100644 --- a/gulliver/system/class.g.php +++ b/gulliver/system/class.g.php @@ -5081,6 +5081,9 @@ class G */ public function isPMUnderUpdating($setFlag = 2) { + if (!defined('PATH_DATA')) { + return false; + } $fileCheck = PATH_DATA."UPDATE.dat"; if ($setFlag == 0) { if (file_exists($fileCheck)) {