From 7bea19a6e1a76584cfc5082bbb0f3348be740f69 Mon Sep 17 00:00:00 2001 From: Brayan Osmar Pereyra Suxo Date: Thu, 9 Aug 2012 09:06:46 -0400 Subject: [PATCH] BUG 9510 show a notices SOLVED I add format correct the function defined --- gulliver/system/class.g.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gulliver/system/class.g.php b/gulliver/system/class.g.php index adce69861..e635cb037 100755 --- a/gulliver/system/class.g.php +++ b/gulliver/system/class.g.php @@ -1176,20 +1176,20 @@ class G if(((in_array($browserName, $enabledBrowsers))||(in_array('ALL', $enabledBrowsers)))&&(!(in_array($browserName, $disabledBrowsers)))){ //G::pr($cssFileInfo['__ATTRIBUTES__']['file']); if($cssFileInfo['__ATTRIBUTES__']['file'] == 'rtl.css') { - G::LoadClass('serverConfiguration'); + G::LoadClass('serverConfiguration'); $oServerConf =& serverConf::getSingleton(); - if (!(defined(SYS_LANG))) { + if (!(defined('SYS_LANG'))) { $syss = explode('://', $_SERVER['HTTP_REFERER']); $sysObjets = explode('/', $syss['1']); $sysLang = $sysObjets['2']; } else { $sysLang = SYS_LANG; } - if ($oServerConf->isRtl($sysLang)) { - $output .= file_get_contents ( $baseSkinDirectory . PATH_SEP.'css'.PATH_SEP.$cssFileInfo['__ATTRIBUTES__']['file'] ); - } - } else { - $output .= file_get_contents ( $baseSkinDirectory . PATH_SEP.'css'.PATH_SEP.$cssFileInfo['__ATTRIBUTES__']['file'] ); + if ($oServerConf->isRtl($sysLang)) { + $output .= file_get_contents ( $baseSkinDirectory . PATH_SEP.'css'.PATH_SEP.$cssFileInfo['__ATTRIBUTES__']['file'] ); + } + } else { + $output .= file_get_contents ( $baseSkinDirectory . PATH_SEP.'css'.PATH_SEP.$cssFileInfo['__ATTRIBUTES__']['file'] ); } } }