Recently, the dedecms official version 5.7 program was installed, but a problem was found during the publication of the article, that is, when uploading images through the editor during the publication of the article, the image cannot be uploaded, the error message is: "Upload filetype not allow ...... ", after careful research, I finally come up with a solution. I will share it with you here.
In fact, it is very easy to find the/include/uploadsafe. inc. php file and make the following changes at line 45th of the file:
$ Imtypes = array
Change
$ Imgtypes = array
After the above modifications are completed, the problem of dynamic route for CDN cache is solved.
Articles you may be interested in
- Solution to the DedeTag Engine Create File False error in dedeCMS
- How to solve the Call to undefined function curl_init error in php running?
- Detailed usage of the jQuery plug-in (Lazy Load) for delayed image loading
- Solution to incorrect display of transparent PNG images in IE6
- DedeCMS (zhimeng) website Server Directory Security Settings Experience Sharing
- Recommendation of three methods to enhance CMS Security
- Solution for uploading images with too much width
- FckEditor shortcut menu-image deletion function