The "Attachment address" setting in the Imperial CMS system settings is not in effect, regardless of whether it is set to anything or under d/file/, the following cattle tutorial describes the method of manually modifying the attachment storage address.
First: In the system settings, "attachment address" is changed to the address you want, here is /upload/ for example.
Second: Modify the/e/class/connect.php file, replace all the d/file/in the file with the upload/value, the modification position is about 2964 rows.
Three: Manually create the upload folder.
After modifying these three items, even if the attachment upload path is successfully modified.
It should be noted that if the system parameter settings-File settings-attachment directory, the selection is "column directory" will need to manually create the column directory folder , select the/d/file/p directory item also need to manually create P folder, Because the program does not automatically generate the folder when it is tested, creating it manually will cause the save to fail.
Although the path is manually modified, but the system parameter settings-file settings-Attachment storage directory This is the display or the default/d/file/p
If you want to modify the path you set for yourself, you can find the/e/admin/setenews.php file and navigate to 1020, 1022, and 1024 lines to modify it.
Modify the Imperial cms default picture attachment upload path