2

This error occurs with WordPress while uploading. My hosting OS is Windows.

It gives an error close to this:

Could not upload the  file ... \a\b\c\wp-content/uploads/2011/01

Do you know what the problem is? How can I change the directory separator in WordPress? (If this is the solution?)

4

1 回答 1

0

在 PHP 中,你可以做 define('DS', DIRECTORY_SEPARATOR); 然后在连接链接的地方,您需要将 DS 放在中间,以便它可以在 Windows 和 Linux 服务器上运行。

于 2011-05-27T07:11:18.673 回答