BenitoDannes

autoload-snip.php

Mar 10th, 2020
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.64 KB | None | 0 0
  1. /*
  2. | -------------------------------------------------------------------
  3. |  Auto-load Libraries
  4. | -------------------------------------------------------------------
  5. | These are the classes located in system/libraries/ or your
  6. | application/libraries/ directory, with the addition of the
  7. | 'database' library, which is somewhat of a special case.
  8. |
  9. | Prototype:
  10. |
  11. |   $autoload['libraries'] = array('database', 'email', 'session');
  12. |
  13. | You can also supply an alternative library name to be assigned
  14. | in the controller:
  15. |
  16. |   $autoload['libraries'] = array('user_agent' => 'ua');
  17. */
  18. $autoload['libraries'] = array('database', 'session');
Advertisement
Add Comment
Please, Sign In to add comment