493   CodeIgniter PHP

错误提示


Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257

解决方法:

1,打开根目录的system/core/Common.php文件
2,到257行,内容如下

return $_config[0] =& $config;

修改成

$_config[0] =& $config;
return $_config[0];



Leave a Reply

Your email address will not be published. Required fields are marked *