First build
This commit is contained in:
@@ -1,6 +1,17 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
//JUBABOX
|
||||
//function __autoload($classname) {
|
||||
function my_autoload($classname) {
|
||||
|
||||
if (strpos($classname, 'CL_') !== 0) {
|
||||
$file = APPPATH . 'libraries/' . $classname . '.php';
|
||||
if (file_exists($file) && is_file($file)) {
|
||||
@include_once($file);
|
||||
}
|
||||
}
|
||||
}
|
||||
spl_autoload_register('my_autoload');
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Base Site URL
|
||||
|
||||
Reference in New Issue
Block a user