From 29de737b2a845448889348d33dfac94d0f8f9806 Mon Sep 17 00:00:00 2001 From: "marcelo.cuiza" Date: Thu, 9 Apr 2015 11:50:46 -0400 Subject: [PATCH] PM-2127 Admin>Settings>Logo En windows Server 2012 y WIndows 7 no permite cargar un logo Se valido el path en windows --- gulliver/system/class.g.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gulliver/system/class.g.php b/gulliver/system/class.g.php index 6564039fc..061fb790a 100755 --- a/gulliver/system/class.g.php +++ b/gulliver/system/class.g.php @@ -2637,17 +2637,17 @@ class G } if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { - $file = str_replace("\\\\","\\",$file,$count); - if(!$count) { - $winPath = explode("\\", $file); - $file = ""; - foreach($winPath as $k => $v){ - if($v != "") { - $file.= $v."\\"; - } + $file = str_replace("\\\\","\\",$file,$count); + if(!$count) { + $winPath = explode("\\", $file); + $file = ""; + foreach($winPath as $k => $v){ + if($v != "") { + $file.= $v."\\"; } - $file = substr($file,0,-1); } - } + } + $file = substr($file,0,-1); } + } } G::LoadSystem('inputfilter');