PM-2127
Admin>Settings>Logo En windows Server 2012 y WIndows 7 no permite cargar un logo Se valido el path en windows
This commit is contained in:
@@ -2637,17 +2637,17 @@ class G
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
|
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
|
||||||
$file = str_replace("\\\\","\\",$file,$count);
|
$file = str_replace("\\\\","\\",$file,$count);
|
||||||
if(!$count) {
|
if(!$count) {
|
||||||
$winPath = explode("\\", $file);
|
$winPath = explode("\\", $file);
|
||||||
$file = "";
|
$file = "";
|
||||||
foreach($winPath as $k => $v){
|
foreach($winPath as $k => $v){
|
||||||
if($v != "") {
|
if($v != "") {
|
||||||
$file.= $v."\\";
|
$file.= $v."\\";
|
||||||
}
|
|
||||||
}
|
}
|
||||||
$file = substr($file,0,-1); }
|
}
|
||||||
}
|
$file = substr($file,0,-1); }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
G::LoadSystem('inputfilter');
|
G::LoadSystem('inputfilter');
|
||||||
|
|||||||
Reference in New Issue
Block a user