class Arr extends \Fuel\Core\Arr {...} class DB extends \Fuel\Core\DB {...}
Autoloader::add_classes(array( '\Fuel\Core\Arr' => APPPATH . 'classes/arr.php', 'DB' => APPPATH . 'classes/db.php' ));
Autoloader::add_classes(array( 'Arr' => APPPATH . 'classes/arr.php', 'DB' => APPPATH . 'classes/db.php', ));
'Arr' => APPPATH . 'classes/arr.php'
Class 'Arr' not found in \core\classes\config.php on line 176
<?php class Arr extends \Fuel\Core\Arr { public static function _init() { \Debug::dump('MY ARR IS ALIVE!'); } }
Autoloader::add_classes(array( // Add classes you want to override here // Example: 'View' => APPPATH.'classes/view.php', 'Arr' => APPPATH.'classes/arr.php', ));to my app bootstrap, and it works like a charm...
It looks like you're new here. If you want to get involved, click one of these buttons!