fckeditor php 自定义上传目录和上传文件重命名的设置
[ 2023-05-09 16:34:17 | 作者: admin ]
首先:我希望上传的文件根据日期来组织文件夹
请修改editor\editor\filemanager\connectors\php文件夹下的:config.php文件
找到如下的内容:
其次:重命名
请修改该文件夹下的io.php文件
找到: [code][/code]...
阅读全文…
请修改editor\editor\filemanager\connectors\php文件夹下的:config.php文件
找到如下的内容:
// Path to user files relative to the document root.
$Config['UserFilesPath'] =
修改为: $Config['UserFilesPath'] =
// Path to user files relative to the document root.
$Config['UserFilesPath'] = '/uploadfiles/'.date("Ym")."/" ;
这样上传的文件就按照日期存放了。 $Config['UserFilesPath'] = '/uploadfiles/'.date("Ym")."/" ;
其次:重命名
请修改该文件夹下的io.php文件
找到: [code][/code]...
阅读全文…
1