Suggestions
Brought to you by:
lee_herron
if defineroot = On
Line 1066:
function setroot($vpath) {
global $dir, $dirroot, $dirpath, $nav,
$path,$copt, $sharedhost;
/* If adding more than two directores, add an
elseif for each. */
if ($copt==1) {
$path = $path.$dir[1];
}
elseif ($copt==2) {
$path = $path.$dir[2];
}
else {
$path = $path.$dir[1];
$copt=1;
}
}
$vpath is not initialised? eg. void?
$path = $path.$dir[1];
//if Fm is in a Subdirectory this not works correctly
eg: $path = $_SERVER['DOCUMENT_ROOT'].$dir[1];