--- docman.php 2003/04/09 15:55:15 1.34 +++ docman.php 2003/04/09 16:50:02 1.36 @@ -74,7 +74,7 @@ ////////////////////////////////////////////////////////////////// $gblTitle = "Document Manager"; - $gblVersion = "2.0-pre1"; + $gblVersion = "2.0-pre2"; $secHash = ""; @@ -721,6 +721,14 @@ $uurl = self_args(array($D,"fsort=".$fsort_arr[$fsort][2])); $surl = self_args(array($D,"fsort=".$fsort_arr[$fsort][3])); + $html_uri = $webRoot; + + if (substr($relDir,0,1) == "/") { + $html_uri .= substr($relDir,1,strlen($relDir)-1); + } else { + $html_uri .= $relDir; + } + include("$html/Navigate-fileHeader.html"); if (sizeof($fileList) > 0) { @@ -1281,7 +1289,7 @@ $l = trim(fgets($fp_conf,4096)); if (substr($l,0,1) == "+") { // no comment $arr=explode(":",$l); - $groups_arr[$arr[0]] = $arr[1] ; + $groups_arr[$arr[0]] = str_replace(" ","",$arr[1]) ; } elseif (substr($l,0,1) != "#") { $arr=explode(":",$l); $path=array_shift($arr);