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