Menu

#24 Suggestions

open
nobody
None
5
2006-07-15
2006-07-15
Anonymous
No

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];

Discussion


Log in to post a comment.

MongoDB Logo MongoDB