Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to make core controller codeigniter 3 more than 1

<?php
#  By placing this at the bottom of your config.php
function __autoload($class) {
    if(strpos($class, 'CI_') !== 0) {
        @include_once( APPPATH . 'core/'. $class . EXT );
    }
}

// on php 7.2 Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /var/www/html/application/config/config.php on line 553
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #core #controller #codeigniter
ADD COMMENT
Topic
Name
6+6 =