Home >CMS Tutorial >PHPCMS >phpcms background cannot upload pictures

phpcms background cannot upload pictures

王林
王林Original
2020-02-06 17:36:462335browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn