Нет описания

app.php 7.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Application Debug Mode
  6. |--------------------------------------------------------------------------
  7. |
  8. | When your application is in debug mode, detailed error messages with
  9. | stack traces will be shown on every error that occurs within your
  10. | application. If disabled, a simple generic error page is shown.
  11. |
  12. */
  13. 'debug' => env('APP_DEBUG'),
  14. /*
  15. |--------------------------------------------------------------------------
  16. | Application URL
  17. |--------------------------------------------------------------------------
  18. |
  19. | This URL is used by the console to properly generate URLs when using
  20. | the Artisan command line tool. You should set this to the root of
  21. | your application so that it is used when running Artisan tasks.
  22. |
  23. */
  24. 'url' => 'http://localhost',
  25. /*
  26. |--------------------------------------------------------------------------
  27. | Application Timezone
  28. |--------------------------------------------------------------------------
  29. |
  30. | Here you may specify the default timezone for your application, which
  31. | will be used by the PHP date and date-time functions. We have gone
  32. | ahead and set this to a sensible default for you out of the box.
  33. |
  34. */
  35. 'timezone' => 'PRC',
  36. /*
  37. |--------------------------------------------------------------------------
  38. | Application Locale Configuration
  39. |--------------------------------------------------------------------------
  40. |
  41. | The application locale determines the default locale that will be used
  42. | by the translation service provider. You are free to set this value
  43. | to any of the locales which will be supported by the application.
  44. |
  45. */
  46. 'locale' => 'zh',
  47. /*
  48. |--------------------------------------------------------------------------
  49. | Application Fallback Locale
  50. |--------------------------------------------------------------------------
  51. |
  52. | The fallback locale determines the locale to use when the current one
  53. | is not available. You may change the value to correspond to any of
  54. | the language folders that are provided through your application.
  55. |
  56. */
  57. 'fallback_locale' => 'en',
  58. /*
  59. |--------------------------------------------------------------------------
  60. | Encryption Key
  61. |--------------------------------------------------------------------------
  62. |
  63. | This key is used by the Illuminate encrypter service and should be set
  64. | to a random, 32 character string, otherwise these encrypted strings
  65. | will not be safe. Please do this before deploying an application!
  66. |
  67. */
  68. 'key' => env('APP_KEY', '0gD9vMYFCHKobaFM7XMhYhNw97lTpkYG'),
  69. 'cipher' => MCRYPT_RIJNDAEL_128,
  70. /*
  71. |--------------------------------------------------------------------------
  72. | Logging Configuration
  73. |--------------------------------------------------------------------------
  74. |
  75. | Here you may configure the log settings for your application. Out of
  76. | the box, Laravel uses the Monolog PHP logging library. This gives
  77. | you a variety of powerful log handlers / formatters to utilize.
  78. |
  79. | Available Settings: "single", "daily", "syslog", "errorlog"
  80. |
  81. */
  82. 'log' => 'daily',
  83. /*
  84. |--------------------------------------------------------------------------
  85. | Autoloaded Service Providers
  86. |--------------------------------------------------------------------------
  87. |
  88. | The service providers listed here will be automatically loaded on the
  89. | request to your application. Feel free to add your own services to
  90. | this array to grant expanded functionality to your applications.
  91. |
  92. */
  93. 'providers' => [
  94. /*
  95. * Laravel Framework Service Providers...
  96. */
  97. 'Illuminate\Foundation\Providers\ArtisanServiceProvider',
  98. 'Illuminate\Auth\AuthServiceProvider',
  99. 'Illuminate\Bus\BusServiceProvider',
  100. 'Illuminate\Cache\CacheServiceProvider',
  101. 'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider',
  102. 'Illuminate\Routing\ControllerServiceProvider',
  103. 'Illuminate\Cookie\CookieServiceProvider',
  104. 'Illuminate\Database\DatabaseServiceProvider',
  105. 'Illuminate\Encryption\EncryptionServiceProvider',
  106. 'Illuminate\Filesystem\FilesystemServiceProvider',
  107. 'Illuminate\Foundation\Providers\FoundationServiceProvider',
  108. 'Illuminate\Hashing\HashServiceProvider',
  109. 'Illuminate\Mail\MailServiceProvider',
  110. 'Illuminate\Pagination\PaginationServiceProvider',
  111. 'Illuminate\Pipeline\PipelineServiceProvider',
  112. 'Illuminate\Queue\QueueServiceProvider',
  113. 'Illuminate\Redis\RedisServiceProvider',
  114. 'Illuminate\Auth\Passwords\PasswordResetServiceProvider',
  115. 'Illuminate\Session\SessionServiceProvider',
  116. 'Illuminate\Translation\TranslationServiceProvider',
  117. 'Illuminate\Validation\ValidationServiceProvider',
  118. 'Illuminate\View\ViewServiceProvider',
  119. /*
  120. * Application Service Providers...
  121. */
  122. 'App\Providers\AppServiceProvider',
  123. 'App\Providers\BusServiceProvider',
  124. 'App\Providers\ConfigServiceProvider',
  125. 'App\Providers\EventServiceProvider',
  126. 'App\Providers\RouteServiceProvider',
  127. ],
  128. /*
  129. |--------------------------------------------------------------------------
  130. | Class Aliases
  131. |--------------------------------------------------------------------------
  132. |
  133. | This array of class aliases will be registered when this application
  134. | is started. However, feel free to register as many as you wish as
  135. | the aliases are "lazy" loaded so they don't hinder performance.
  136. |
  137. */
  138. 'aliases' => [
  139. 'App' => 'Illuminate\Support\Facades\App',
  140. 'Artisan' => 'Illuminate\Support\Facades\Artisan',
  141. 'Auth' => 'Illuminate\Support\Facades\Auth',
  142. 'Blade' => 'Illuminate\Support\Facades\Blade',
  143. 'Bus' => 'Illuminate\Support\Facades\Bus',
  144. 'Cache' => 'Illuminate\Support\Facades\Cache',
  145. 'Config' => 'Illuminate\Support\Facades\Config',
  146. 'Cookie' => 'Illuminate\Support\Facades\Cookie',
  147. 'Crypt' => 'Illuminate\Support\Facades\Crypt',
  148. 'DB' => 'Illuminate\Support\Facades\DB',
  149. 'Eloquent' => 'Illuminate\Database\Eloquent\Model',
  150. 'Event' => 'Illuminate\Support\Facades\Event',
  151. 'File' => 'Illuminate\Support\Facades\File',
  152. 'Hash' => 'Illuminate\Support\Facades\Hash',
  153. 'Input' => 'Illuminate\Support\Facades\Input',
  154. 'Inspiring' => 'Illuminate\Foundation\Inspiring',
  155. 'Lang' => 'Illuminate\Support\Facades\Lang',
  156. 'Log' => 'Illuminate\Support\Facades\Log',
  157. 'Mail' => 'Illuminate\Support\Facades\Mail',
  158. 'Password' => 'Illuminate\Support\Facades\Password',
  159. 'Queue' => 'Illuminate\Support\Facades\Queue',
  160. 'Redirect' => 'Illuminate\Support\Facades\Redirect',
  161. 'Redis' => 'Illuminate\Support\Facades\Redis',
  162. 'Request' => 'Illuminate\Support\Facades\Request',
  163. 'Response' => 'Illuminate\Support\Facades\Response',
  164. 'Route' => 'Illuminate\Support\Facades\Route',
  165. 'Schema' => 'Illuminate\Support\Facades\Schema',
  166. 'Session' => 'Illuminate\Support\Facades\Session',
  167. 'Storage' => 'Illuminate\Support\Facades\Storage',
  168. 'URL' => 'Illuminate\Support\Facades\URL',
  169. 'Validator' => 'Illuminate\Support\Facades\Validator',
  170. 'View' => 'Illuminate\Support\Facades\View',
  171. ],
  172. ];