Only variable references should be returned by reference
搭建完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];
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/28939273/viewspace-2647446/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/28939273/viewspace-2647446/