搭建完Lepus监控系统后,界面提示错误:
A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
[root@b77-11-100 lepus_v3.7]# find / -name Common.php
/opt/lampp/htdocs/system/core/Common.php
修改如下内容
return $_config[0] =& $config;
为
$_config[0] =& $config;
return $_config[0];