我使用旧版本的 Codeigniter 框架。使用新版本的 php 我收到此错误:Only variables should be assigned by reference
我想知道这是否是安全的错误修复:
改变:
$this->_base_classes =& is_loaded();
to
$assign = is_loaded();
$this->_base_classes =& $assign;
是一样的吗?
请看这个网址
https://github.com/bcit-ci/CodeIgniter/issues/904 https://github.com/bcit-ci/CodeIgniter/issues/904
你可以去file: system/core/Loader.php
Then
file: system/core/Common.php
第190行应该有:
function &is_loaded($class = '')
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)