浏览服务器时总是提示=>
Sorry, can\'t map "UserFilesPath" to a physical path. You must set the "UserFilesAbsolutePath" value in "editor/filemanager/connectors/php/config.php配置文件$Config['Enabled'] = true ;$Config['UserFilesPath'] = '/userfiles/' ;$Config['UserFilesAbsolutePath'] = '' ;
图片上传文件夹:userfiles ,放在网站根目录下在apache上没有问题,在iis 6\7上会出现问题
Sorry, can\'t map "UserFilesPath" to a physical path. You must set the "UserFilesAbsolutePath" value in "editor/filemanager/connectors/php/config.php配置文件$Config['Enabled'] = true ;$Config['UserFilesPath'] = '/userfiles/' ;$Config['UserFilesAbsolutePath'] = '' ;
图片上传文件夹:userfiles ,放在网站根目录下在apache上没有问题,在iis 6\7上会出现问题
$_SERVER['SCRIPT_FILENAME'] = str_replace('\\', '\\\\', $_SERVER['SCRIPT_FILENAME']);
$path = substr($_SERVER['SCRIPT_FILENAME'], 0, -1 * (strlen($_SERVER['SCRIPT_FILENAME']) - strrpos($_SERVER['SCRIPT_FILENAME'], '\\')));
$Config['UserFilesPath'] = $http_path.'/userfiles/' ;
$Config['UserFilesAbsolutePath'] = ((strpos($_SERVER["SERVER_SOFTWARE"], 'apache') === false) ?$path.'\\userfiles\\' : '') ;
$Config['UserFilesAbsolutePath'] = ''
填上绝对路径试