/trunk/api/fckeditor/editor/filemanager/upload/php/upload.php |
---|
63,10 → 63,8 |
$iCounter = 0 ; |
// The the target directory. |
$sServerDir = GetRootPath() . $Config["UserFilesPath"] ; |
print "|"; |
print $sServerDir; |
print "|"; |
//$sServerDir = GetRootPath() . $Config["UserFilesPath"] ; |
$sServerDir = $Config['BaseDir'].$Config["UserFilesPath"].'/'; |
while ( true ) |
{ |
91,8 → 89,8 |
umask( $oldumask ) ; |
} |
$sFileUrl = $Config["UserFilesPath"] . $sFileName ; |
$sFileUrl = $Config["UrlPrefix"].$Config["UserFilesPath"]."/". $sFileName ; |
break ; |
} |
} |