mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Setup: Source dir recorded with a trailing backslash under windows
SVN:trunk[2829]
This commit is contained in:
@@ -1314,8 +1314,10 @@ EOF
|
||||
if ($aDirs !== false)
|
||||
{
|
||||
sort($aDirs);
|
||||
|
||||
return array_pop($aDirs);
|
||||
// Windows: there is a backslash at the end (though the path is made of slashes!!!)
|
||||
$sDir = basename(array_pop($aDirs));
|
||||
$sRes = $sBaseDir.'/'.$sDir;
|
||||
return $sRes;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user