Load library

edited June 2015 in Modules
I have library files inside advanced module. how can load that library files globally avoiding loading these in every function.

Comments

  • edited 11:36PM
    Add them to the fuel/application/config/autoload.php file as in the following:
    $autoload['libraries'] = array('fuel/asset', 'fuel/fuel', '{my_module}/my_library');
  • edited 11:36PM
    thanks.
Sign In or Register to comment.