Home > CMS Tutorial > PHPCMS > body text

phpcms background cannot upload pictures

王林
Release: 2020-02-06 17:36:46
Original
2301 people have browsed it

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)){
Copy after login

3. Modify as follows:

if(empty($_POST['userid'])){
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template