mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-08 09:36:48 +01:00
Set root to blank to avoid double slash in path
This commit is contained in:
@@ -14,6 +14,7 @@ if (isset($_GET['location'])) {
|
||||
echo '<div id="branch">';
|
||||
$location = str_replace("|","/",$_GET['location']);
|
||||
}
|
||||
if ($location=="/") {$location = "";};
|
||||
|
||||
$dirArray = $filesArray = $finalArray = array();
|
||||
$finalArray = scanDir($scanDir.$location);
|
||||
|
||||
Reference in New Issue
Block a user