Home >CMS Tutorial >PHPCMS >phpcms background cannot upload pictures
1. First open the file /phpcms/libs/classes/attachment.class.php
2. Find the following code:
if(empty($this->userid)){
3. Modify as follows:
if(empty($_POST['userid'])){
Recommended related articles and tutorials: phpcms tutorial
The above is the detailed content of phpcms background cannot upload pictures. For more information, please follow other related articles on the PHP Chinese website!