From 52a858678ebc370d30c5b99c48d578922e70d99f Mon Sep 17 00:00:00 2001 From: Brayan Osmar Pereyra Suxo Date: Fri, 26 Apr 2013 13:29:44 -0400 Subject: [PATCH] Creacion de logs para SYSTEM_NAME Creacion de logs para SYSTEM_NAME --- workflow/engine/controllers/installer.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/workflow/engine/controllers/installer.php b/workflow/engine/controllers/installer.php index 491cf8f7f..64bb3e77d 100644 --- a/workflow/engine/controllers/installer.php +++ b/workflow/engine/controllers/installer.php @@ -690,7 +690,9 @@ class Installer extends Controller if (defined('PARTNER_FLAG') || isset($_REQUEST['PARTNER_FLAG'])) { $dbText .= "\n"; $dbText .= " define ('PARTNER_FLAG', " . ((defined('PARTNER_FLAG')) ? PARTNER_FLAG : ((isset($_REQUEST['PARTNER_FLAG'])) ? $_REQUEST['PARTNER_FLAG']:'false')) . ");\n"; - $systemName = $this->getNameSystem(); + error_log('1 --------'); + error_log($pathShared); + $systemName = $this->getNameSystem($pathShared); if ($systemName != '') { $dbText .= " define ('SYSTEM_NAME', " . $systemName . ");\n"; } @@ -1083,11 +1085,12 @@ class Installer extends Controller if ($pathShared == '') { $pathShared = trim( $_REQUEST['pathShared'] ); } - + if (substr( $pathShared, - 1 ) != '/') { $pathShared .= '/'; } - + error_log('2 --------'); + error_log($pathShared . 'partner.info'); if (file_exists($pathShared . 'partner.info')) { $dataInfo = parse_ini_file($pathShared . 'partner.info'); if (isset($dataInfo['system_name'])) {