1
Good morning guys, I can’t load my helper with Codeigniter, I have no idea what happens:
my autoload.php is like this:
$autoload['helper'] = array('url', 'login');
and my helper is like this:
<?php
/**
* Created by Andre Tohouca Lacomski on 02/04/2019
*/
if ( !defined('BASEPATH')) exit('No direct script access allowed');
function is_logged_in() {
$CI =& get_instance();
$status = $CI->session->userdata('logged_in');
if (!isset($status)) {
return false;
}else {
return true;
}
}
?>
And this error appears:
An Error Was Encountered Unable to load the requested file: helpers/login_helper.php
I just found the error.... I wrote login_heaper.php, now it worked
– Andre Lacomski