This is not a bug, but an easy feature improvement.
in the CI_Model.php, instead of:
log_message('info', 'Model Class Initialized');
have:
PHP Code:
public function __construct()
{
log_message('info', 'Model Class '.get_class($this).' Initialized');
}
public function __destruct()
{
log_message('info', 'Model Class '.get_class($this).' destructed');
}
it would make debugging a lot easier for us mere mortals with large projects.
kind regards
Pete