Windows 7上的XAMPP + Cake安装导致在上传文件的路径名中引入反斜杠的奇怪问题。
答案 0 :(得分:1)
是否需要定义目录分隔符?请参阅webroot / index.php:
/**
* Use the DS to separate the directories in other defines
*/
if (!defined('DS')) {
define('DS', '/');//DIRECTORY_SEPARATOR);
}
/ **