/trunk/api/fckeditor/editor/filemanager/upload/php/upload.php |
---|
64,6 → 64,9 |
// The the target directory. |
$sServerDir = GetRootPath() . $Config["UserFilesPath"] ; |
print "|"; |
print $sServerDir; |
print "|"; |
while ( true ) |
{ |
/trunk/api/fckeditor/editor/filemanager/upload/php/util.php |
---|
28,7 → 28,10 |
$sSelfPath = $_SERVER['PHP_SELF'] ; |
$sSelfPath = substr( $sSelfPath, 0, strrpos( $sSelfPath, '/' ) ) ; |
return substr( $sRealPath, 0, strlen( $sRealPath ) - strlen( $sSelfPath ) ) ; |
//return substr( $sRealPath, 0, strlen( $sRealPath ) - strlen( $sSelfPath ) ) ; |
return "/home/david/workspace/papyrus"; |
} |
?> |