Server IP : 192.185.129.71 / Your IP : 3.16.75.169 Web Server : Apache System : Linux bh-ht-3.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : svymadmin ( 4072) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home4/svymadmin/public_html/vivekaexcel.edu.in/bkp/application/hooks/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php defined('BASEPATH') or exit('No direct script access allowed'); function _app_init_load() { $ci = &get_instance(); $ci->load->library([ 'app_modules', 'app_menu', 'app_tabs', 'app_module_migration', 'assets/app_scripts', 'assets/app_css', 'sms/app_sms', 'mails/app_mail_template', 'merge_fields/app_merge_fields', 'app_object_cache', ]); } function _app_init() { $ci = &get_instance(); _app_init_load(); /** * In case of failures, users can skip the modules to be loaded */ if ($ci->input->get('skip_modules_load') && $ci->input->get('skip_modules_load') && is_admin()) { $modules = []; } else { /** * Get all registered and active modules * @var array */ $modules = $ci->app_modules->get_activated(); } foreach ($modules as $module) { /** * Require the init module file */ require_once($module['init_file']); } $themeFunctionsPath = VIEWPATH . 'themes/' . active_clients_theme() . '/functions.php'; if (file_exists($themeFunctionsPath)) { include_once($themeFunctionsPath); } hooks()->do_action('modules_loaded'); }