- Moved spl_autoload_register from application/config/config.php to application/config/core_includes.php

- application/config/core_includes.php is included by index.ci.php
- Renamed the prefix of the helpers from "fhc_" to "hlp_"
- Adapted the helpers includes
This commit is contained in:
Paolo
2018-07-18 12:04:00 +02:00
parent 5635f1792c
commit bb52aee900
17 changed files with 27 additions and 25 deletions
+5 -5
View File
@@ -21,19 +21,19 @@ class FHC_Controller extends CI_Controller
$this->_controllerId = null; // set _controllerId as null by default
// Loads helper message to manage returning messages
$this->load->helper('fhc_message');
$this->load->helper('hlp_message');
// Loads helper with generic utility function
$this->load->helper('fhc_common');
$this->load->helper('hlp_common');
// Loads helper session to manage the php session
$this->load->helper('fhc_session');
$this->load->helper('hlp_session');
// Loads language helper
$this->load->helper('fhc_language');
$this->load->helper('hlp_language');
// Loads header helper
$this->load->helper('fhc_header');
$this->load->helper('hlp_header');
}
//------------------------------------------------------------------------------------------------------------------