暂无描述

app.php 7.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <?php
  2. error_reporting(error_reporting() & ~E_DEPRECATED);
  3. return array(
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Application Debug Mode
  7. |--------------------------------------------------------------------------
  8. |
  9. | When your application is in debug mode, detailed error messages with
  10. | stack traces will be shown on every error that occurs within your
  11. | application. If disabled, a simple generic error page is shown.
  12. |
  13. */
  14. 'debug' => $_ENV['APP_DEBUG'] ?: false,
  15. /*
  16. |--------------------------------------------------------------------------
  17. | Application URL
  18. |--------------------------------------------------------------------------
  19. |
  20. | This URL is used by the console to properly generate URLs when using
  21. | the Artisan command line tool. You should set this to the root of
  22. | your application so that it is used when running Artisan tasks.
  23. |
  24. */
  25. 'url' => $_ENV['APP_URL'] ?: 'http://localhost',
  26. /*
  27. |--------------------------------------------------------------------------
  28. | Application Timezone
  29. |--------------------------------------------------------------------------
  30. |
  31. | Here you may specify the default timezone for your application, which
  32. | will be used by the PHP date and date-time functions. We have gone
  33. | ahead and set this to a sensible default for you out of the box.
  34. |
  35. */
  36. 'timezone' => 'America/Puerto_Rico',
  37. /*
  38. |--------------------------------------------------------------------------
  39. | Application Locale Configuration
  40. |--------------------------------------------------------------------------
  41. |
  42. | The application locale determines the default locale that will be used
  43. | by the translation service provider. You are free to set this value
  44. | to any of the locales which will be supported by the application.
  45. |
  46. */
  47. 'locale' => 'en',
  48. /*
  49. |--------------------------------------------------------------------------
  50. | Application Fallback Locale
  51. |--------------------------------------------------------------------------
  52. |
  53. | The fallback locale determines the locale to use when the current one
  54. | is not available. You may change the value to correspond to any of
  55. | the language folders that are provided through your application.
  56. |
  57. */
  58. 'fallback_locale' => 'en',
  59. /*
  60. |--------------------------------------------------------------------------
  61. | Encryption Key
  62. |--------------------------------------------------------------------------
  63. |
  64. | This key is used by the Illuminate encrypter service and should be set
  65. | to a random, 32 character string, otherwise these encrypted strings
  66. | will not be safe. Please do this before deploying an application!
  67. |
  68. */
  69. // 'key' => 'YourSecretKey!!!',
  70. 'key' => 'JozBz0yQBrZ5kEcPvgxch3RR3E3INSGs',
  71. 'cipher' => MCRYPT_RIJNDAEL_256,
  72. /*
  73. |--------------------------------------------------------------------------
  74. | Autoloaded Service Providers
  75. |--------------------------------------------------------------------------
  76. |
  77. | The service providers listed here will be automatically loaded on the
  78. | request to your application. Feel free to add your own services to
  79. | this array to grant expanded functionality to your applications.
  80. |
  81. */
  82. 'providers' => array(
  83. 'Illuminate\Foundation\Providers\ArtisanServiceProvider',
  84. 'Illuminate\Auth\AuthServiceProvider',
  85. 'Illuminate\Cache\CacheServiceProvider',
  86. 'Illuminate\Session\CommandsServiceProvider',
  87. 'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider',
  88. 'Illuminate\Routing\ControllerServiceProvider',
  89. 'Illuminate\Cookie\CookieServiceProvider',
  90. 'Illuminate\Database\DatabaseServiceProvider',
  91. 'Illuminate\Encryption\EncryptionServiceProvider',
  92. 'Illuminate\Filesystem\FilesystemServiceProvider',
  93. 'Illuminate\Hashing\HashServiceProvider',
  94. 'Illuminate\Html\HtmlServiceProvider',
  95. 'Illuminate\Log\LogServiceProvider',
  96. 'Illuminate\Mail\MailServiceProvider',
  97. 'Illuminate\Database\MigrationServiceProvider',
  98. 'Illuminate\Pagination\PaginationServiceProvider',
  99. 'Illuminate\Queue\QueueServiceProvider',
  100. 'Illuminate\Redis\RedisServiceProvider',
  101. 'Illuminate\Remote\RemoteServiceProvider',
  102. 'Illuminate\Auth\Reminders\ReminderServiceProvider',
  103. 'Illuminate\Database\SeedServiceProvider',
  104. 'Illuminate\Session\SessionServiceProvider',
  105. 'Illuminate\Translation\TranslationServiceProvider',
  106. 'Illuminate\Validation\ValidationServiceProvider',
  107. 'Illuminate\View\ViewServiceProvider',
  108. 'Illuminate\Workbench\WorkbenchServiceProvider',
  109. 'Way\Generators\GeneratorsServiceProvider',
  110. 'Barryvdh\DomPDF\ServiceProvider',
  111. 'Zizaco\Entrust\EntrustServiceProvider'
  112. ),
  113. /*
  114. |--------------------------------------------------------------------------
  115. | Service Provider Manifest
  116. |--------------------------------------------------------------------------
  117. |
  118. | The service provider manifest is used by Laravel to lazy load service
  119. | providers which are not needed for each request, as well to keep a
  120. | list of all of the services. Here, you may set its storage spot.
  121. |
  122. */
  123. 'manifest' => storage_path().'/meta',
  124. /*
  125. |--------------------------------------------------------------------------
  126. | Class Aliases
  127. |--------------------------------------------------------------------------
  128. |
  129. | This array of class aliases will be registered when this application
  130. | is started. However, feel free to register as many as you wish as
  131. | the aliases are "lazy" loaded so they don't hinder performance.
  132. |
  133. */
  134. 'aliases' => array(
  135. 'App' => 'Illuminate\Support\Facades\App',
  136. 'Artisan' => 'Illuminate\Support\Facades\Artisan',
  137. 'Auth' => 'Illuminate\Support\Facades\Auth',
  138. 'Blade' => 'Illuminate\Support\Facades\Blade',
  139. 'Cache' => 'Illuminate\Support\Facades\Cache',
  140. 'ClassLoader' => 'Illuminate\Support\ClassLoader',
  141. 'Config' => 'Illuminate\Support\Facades\Config',
  142. 'Controller' => 'Illuminate\Routing\Controller',
  143. 'Cookie' => 'Illuminate\Support\Facades\Cookie',
  144. 'Crypt' => 'Illuminate\Support\Facades\Crypt',
  145. 'DB' => 'Illuminate\Support\Facades\DB',
  146. 'Eloquent' => 'Illuminate\Database\Eloquent\Model',
  147. 'Event' => 'Illuminate\Support\Facades\Event',
  148. 'File' => 'Illuminate\Support\Facades\File',
  149. 'Form' => 'Illuminate\Support\Facades\Form',
  150. 'Hash' => 'Illuminate\Support\Facades\Hash',
  151. 'HTML' => 'Illuminate\Support\Facades\HTML',
  152. 'Input' => 'Illuminate\Support\Facades\Input',
  153. 'Lang' => 'Illuminate\Support\Facades\Lang',
  154. 'Log' => 'Illuminate\Support\Facades\Log',
  155. 'Mail' => 'Illuminate\Support\Facades\Mail',
  156. 'Paginator' => 'Illuminate\Support\Facades\Paginator',
  157. 'Password' => 'Illuminate\Support\Facades\Password',
  158. 'Queue' => 'Illuminate\Support\Facades\Queue',
  159. 'Redirect' => 'Illuminate\Support\Facades\Redirect',
  160. 'Redis' => 'Illuminate\Support\Facades\Redis',
  161. 'Request' => 'Illuminate\Support\Facades\Request',
  162. 'Response' => 'Illuminate\Support\Facades\Response',
  163. 'Route' => 'Illuminate\Support\Facades\Route',
  164. 'Schema' => 'Illuminate\Support\Facades\Schema',
  165. 'Seeder' => 'Illuminate\Database\Seeder',
  166. 'Session' => 'Illuminate\Support\Facades\Session',
  167. 'SoftDeletingTrait' => 'Illuminate\Database\Eloquent\SoftDeletingTrait',
  168. 'SSH' => 'Illuminate\Support\Facades\SSH',
  169. 'Str' => 'Illuminate\Support\Str',
  170. 'URL' => 'Illuminate\Support\Facades\URL',
  171. 'Validator' => 'Illuminate\Support\Facades\Validator',
  172. 'View' => 'Illuminate\Support\Facades\View',
  173. 'PDF' => 'Barryvdh\DomPDF\Facade',
  174. 'Entrust' => 'Zizaco\Entrust\EntrustFacade'
  175. ),
  176. );