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