[eluser]Unknown[/eluser]
Is there an issue with using packages and Module Extensions?
If I create a simple controller:
../application/controllers/home.php
That contains the following code:
class Home extends Controller {
public function __construct() {
parent::__construct();
}
public function index() {
$this->load->add_package_path(APPPATH . 'third_party/common/');
$this->load->library('view');
echo 'Test';
}
}
...which attempts to load a simple library stored in a package:
../application/third_party/common/libraries/view.php
I get the following error when it tries to execute $this->load->add_package_path() statement:
A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Loader.php
Line Number: 1076
Regards,
Si.