yunBT
yunBT copied to clipboard
Warning: Invalid argument supplied for foreach() in public/dir.php on line 331
dir.php浏览出现两个错误,功能无法使用:
Warning: Invalid argument supplied for foreach() in /www/wwwroot/cloud.pandas.ga/public/dir.php on line 331
Warning: Invalid argument supplied for foreach() in /www/wwwroot/cloud.pandas.ga/public/dir.php on line 339
测试环境 centos7.6 php7.1+nginx
public目录下的dir.php 第14行后插入
$this->file=[];
$this->dirdir=[];
变成如下形式
session_start();
$this->file=[];
$this->dirdir=[];
$this->sdir=$_SESSION['think']['dir']['dir'];
感谢,问题已解决,大神可否加个QQ,我有个应该不算很复杂的需求想联系你下,看是否可付费定制。