Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Always set the scanDir to $docRoot.$iceRoot
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpass committed Feb 26, 2013
1 parent 29981df commit a0a7049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/get-branch.php
Expand Up @@ -14,7 +14,7 @@
<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']);
Expand Down

0 comments on commit a0a7049

Please sign in to comment.