mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02: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)
|
if ($aDirs !== false)
|
||||||
{
|
{
|
||||||
sort($aDirs);
|
sort($aDirs);
|
||||||
|
// Windows: there is a backslash at the end (though the path is made of slashes!!!)
|
||||||
return array_pop($aDirs);
|
$sDir = basename(array_pop($aDirs));
|
||||||
|
$sRes = $sBaseDir.'/'.$sDir;
|
||||||
|
return $sRes;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user