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 6:38PM
    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 6:38PM
    thanks.
Sign In or Register to comment.