Welcome Guest, Not a member yet? Register   Sign In
HMVC throwing errors
#1

[eluser]Unknown[/eluser]
why is it that HMVC Loader.php/library and model have to always return a value? In case $path === false, why not just return from that code path?
if ($path == FALSE) {

/* check application & packages */
parent::model($model, $object_name);
>>> return;

this is causing a lot of errors to be thrown on libraries which are not loaded via Modules::load_file

caguiar

----------------------------------------------
A PHP Error was encountered

Severity: Notice

Message: Undefined property: CI::$search_model

Filename: MX/Loader.php

Line Number: 208
A PHP Error was encountered

Severity: Notice

Message: Undefined property: CI::$wsprequest

Filename: MX/Loader.php

Line Number: 165




Theme © iAndrew 2016 - Forum software by © MyBB