HEX
Server: LiteSpeed
System: Linux s12873.lon1.stableserver.net 5.14.0-611.11.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 3 09:47:37 EST 2025 x86_64
User: jairicem (1242)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/jairicem/alfijiri.com/app/config/hooks.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/*
| -------------------------------------------------------------------------
| Hooks
| -------------------------------------------------------------------------
| This file lets you define "hooks" to extend CI without hacking the core
| files.  Please see the user guide for info:
|
|	http://codeigniter.com/user_guide/general/hooks.html
|
*/

// Check db connection for installation 
$hook['post_controller_constructor'] = array(
        'class'    => 'Sma_hooks',
        'function' => 'check',
        'filename' => 'Sma_hooks.php',
        'filepath' => 'hooks'
);

// Compress output
// $hook['display_override'] = array(
//     'class' => 'Sma_hooks',
//     'function' => 'minify',
//     'filename' => 'Sma_hooks.php',
//     'filepath' => 'hooks'
// );