mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-06 16:46:48 +01:00
Always set the scanDir to $docRoot.$iceRoot
This commit is contained in:
@@ -14,7 +14,7 @@ $dirCount=0;
|
||||
<div id="branch">
|
||||
<?php
|
||||
// If we're just getting a branch, get that and set as the finalArray
|
||||
$scanDir = ($docRoot && $iceRoot) ? $docRoot.$iceRoot : $_SERVER['DOCUMENT_ROOT'];
|
||||
$scanDir = $docRoot.$iceRoot;
|
||||
$location = "";
|
||||
if (isset($_GET['location'])) {
|
||||
$location = str_replace("|","/",$_GET['location']);
|
||||
|
||||
Reference in New Issue
Block a user