/halogy/application/config/autoload.php

https://bitbucket.org/haloweb/halogy-1.0/ · PHP · 127 lines · 7 code · 22 blank · 98 comment · 1 complexity · cc9ba57e8afa8c76e41bbe0667b1f53e MD5 · raw file

  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2. /*
  3. | -------------------------------------------------------------------
  4. | AUTO-LOADER
  5. | -------------------------------------------------------------------
  6. | This file specifies which systems should be loaded by default.
  7. |
  8. | In order to keep the framework as light-weight as possible only the
  9. | absolute minimal resources are loaded by default. For example,
  10. | the database is not connected to automatically since no assumption
  11. | is made regarding whether you intend to use it. This file lets
  12. | you globally define which systems you would like loaded with every
  13. | request.
  14. |
  15. | -------------------------------------------------------------------
  16. | Instructions
  17. | -------------------------------------------------------------------
  18. |
  19. | These are the things you can load automatically:
  20. |
  21. | 1. Libraries
  22. | 2. Helper files
  23. | 3. Plugins
  24. | 4. Custom config files
  25. | 5. Language files
  26. | 6. Models
  27. |
  28. */
  29. /*
  30. | -------------------------------------------------------------------
  31. | Auto-load Libraries
  32. | -------------------------------------------------------------------
  33. | These are the classes located in the system/libraries folder
  34. | or in your system/application/libraries folder.
  35. |
  36. | Prototype:
  37. |
  38. | $autoload['libraries'] = array('database', 'session', 'xmlrpc');
  39. */
  40. $autoload['libraries'] = array('database', 'session', 'site', 'core', 'uploads');
  41. /*
  42. | -------------------------------------------------------------------
  43. | Auto-load Helper Files
  44. | -------------------------------------------------------------------
  45. | Prototype:
  46. |
  47. | $autoload['helper'] = array('url', 'file');
  48. */
  49. $autoload['helper'] = array('url', 'form', 'date', 'halogy', 'cookie');
  50. /*
  51. | -------------------------------------------------------------------
  52. | Auto-load Plugins
  53. | -------------------------------------------------------------------
  54. | Prototype:
  55. |
  56. | $autoload['plugin'] = array('captcha', 'js_calendar');
  57. */
  58. $autoload['plugin'] = array();
  59. /*
  60. | -------------------------------------------------------------------
  61. | Auto-load Config files
  62. | -------------------------------------------------------------------
  63. | Prototype:
  64. |
  65. | $autoload['config'] = array('config1', 'config2');
  66. |
  67. | NOTE: This item is intended for use ONLY if you have created custom
  68. | config files. Otherwise, leave it blank.
  69. |
  70. */
  71. $autoload['config'] = array('site_config');
  72. /*
  73. | -------------------------------------------------------------------
  74. | Auto-load Language files
  75. | -------------------------------------------------------------------
  76. | Prototype:
  77. |
  78. | $autoload['language'] = array('lang1', 'lang2');
  79. |
  80. | NOTE: Do not include the "_lang" part of your file. For example
  81. | "codeigniter_lang.php" would be referenced as array('codeigniter');
  82. |
  83. */
  84. $autoload['language'] = array();
  85. /*
  86. | -------------------------------------------------------------------
  87. | Auto-load Models
  88. | -------------------------------------------------------------------
  89. | Prototype:
  90. |
  91. | $autoload['model'] = array('model1', 'model2');
  92. |
  93. */
  94. $autoload['model'] = array();
  95. /*
  96. | -------------------------------------------------------------------
  97. | Auto-load Core Libraries
  98. | -------------------------------------------------------------------
  99. |
  100. | DEPRECATED: Use $autoload['libraries'] above instead.
  101. |
  102. */
  103. // $autoload['core'] = array();
  104. /* End of file autoload.php */
  105. /* Location: ./system/application/config/autoload.php */