How can I extend the Form_builder library
I'm updating my application to the last version of FuelCMS (the old app was based in the 0.91 branch wich was based too in CI 1.7...)
I have extended the Form_builder library and was working in the old version, but now I can't make it works...
The name of the file is "MY_Form_builder.php" and the declaration is "class MY_Form_builder"... What am i making wrong?
Comments
if ( ! file_exists($baseclass)) { //<!-- FUEL ... changed so that base classes can be loaded from application directory too $baseclass = APPPATH.'libraries/'.ucfirst($class).EXT; if ( ! file_exists($baseclass)) { log_message('error', "Unable to load the requested class: ".$class); show_error("Unable to load the requested class: ".$class); } // FUEL --> }