UEditor (php) github downloaded from the official website. comwiduuqiniu_ueditor_1.4.3 by default, all files saved are saved in a directory. How can I set the save by month directory? How can I write this? Thank you {code ...} download from the official website
UEditor (php)
Https://github.com/widuu/qiniu_ueditor_1.4.3
By default, all files are saved in a directory.
How to Set monthly directory Storage
How can I write this below? Thank you.
// Save the rule $ SAVETYPE = "date"; // now supports unix Timestamp and unix timestamp to write date. leave it blank if the file name is uploaded.
Reply content:
Download from the official website
UEditor (php)
Https://github.com/widuu/qiniu_ueditor_1.4.3
By default, all files are saved in a directory.
How to Set monthly directory Storage
How can I write this below? Thank you.
// Save the rule $ SAVETYPE = "date"; // now supports unix Timestamp and unix timestamp to write date. leave it blank if the file name is uploaded.
Https://github.com/widuu/qiniu_ueditor_1.4.3/blob/master/php/action_upload.php#L64
This line is changed
$ Key = date ("Y/m"). "/". $ _ FILES [$ filedName] ["name"];
This is what is saved in the year-on-year directory.