2014-05-14 13:24:20 +00:00
|
|
|
<?php
|
|
|
|
|
|
2015-03-11 19:30:41 +00:00
|
|
|
return [
|
2014-05-14 13:24:20 +00:00
|
|
|
|
2014-10-10 19:54:19 +00:00
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Application Debug Mode
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| When your application is in debug mode, detailed error messages with
|
|
|
|
|
| stack traces will be shown on every error that occurs within your
|
|
|
|
|
| application. If disabled, a simple generic error page is shown.
|
|
|
|
|
|
|
2014-12-06 02:22:57 +00:00
|
|
|
| You can create a CMS page with route "/error" to set the contents
|
|
|
|
|
| of this page. Otherwise a default error page is shown.
|
|
|
|
|
|
|
2014-10-10 19:54:19 +00:00
|
|
|
*/
|
|
|
|
|
|
2021-04-15 09:44:43 +00:00
|
|
|
'debug' => env('APP_DEBUG', true),
|
2014-10-10 19:54:19 +00:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
2017-05-16 08:50:41 +00:00
|
|
|
| Application Name
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| This value is the name of your application. This value is used when the
|
|
|
|
|
| framework needs to place the application's name in a notification or
|
|
|
|
|
| any other location as required by the application or its packages.
|
|
|
|
|
*/
|
|
|
|
|
|
2021-04-01 06:04:39 +00:00
|
|
|
'name' => 'Orient news',
|
2017-05-16 08:50:41 +00:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
2014-10-10 19:54:19 +00:00
|
|
|
| Application URL
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| This URL is used by the console to properly generate URLs when using
|
|
|
|
|
| the Artisan command line tool. You should set this to the root of
|
|
|
|
|
| your application so that it is used when running Artisan tasks.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2021-04-15 09:44:43 +00:00
|
|
|
'url' => env('APP_URL', 'http://localhost'),
|
2021-04-29 13:10:05 +00:00
|
|
|
'cdn' => env('CDN_URL','http://cdn.orient.tm'),
|
2014-10-10 19:54:19 +00:00
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Application Timezone
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| Here you may specify the default timezone for your application, which
|
|
|
|
|
| will be used by the PHP date and date-time functions. We have gone
|
|
|
|
|
| ahead and set this to a sensible default for you out of the box.
|
|
|
|
|
|
|
2018-11-15 19:45:57 +00:00
|
|
|
|
|
|
|
|
|
| -------- STOP! --------
|
|
|
|
|
| Before you change this value, consider carefully if that is actually
|
|
|
|
|
| what you want to do. It is HIGHLY recommended that this is always set
|
2019-06-12 08:26:21 +00:00
|
|
|
| to UTC (as your server & DB timezone should be as well) and instead you
|
2018-11-15 19:45:57 +00:00
|
|
|
| use cms.backendTimezone to set the default timezone used in the backend
|
|
|
|
|
| to display dates & times.
|
|
|
|
|
|
|
2014-10-10 19:54:19 +00:00
|
|
|
*/
|
|
|
|
|
|
2021-04-01 06:04:39 +00:00
|
|
|
'timezone' => 'Asia/Ashgabat',
|
2014-10-10 19:54:19 +00:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Application Locale Configuration
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| The application locale determines the default locale that will be used
|
|
|
|
|
| by the translation service provider. You are free to set this value
|
|
|
|
|
| to any of the locales which will be supported by the application.
|
|
|
|
|
|
|
2020-01-27 18:04:52 +00:00
|
|
|
| WARNING: Avoid setting this to a locale that is not supported by the
|
|
|
|
|
| backend yet, as this can cause issues in the backend.
|
|
|
|
|
|
|
|
|
|
|
| Currently supported backend locales are listed in
|
|
|
|
|
| Backend\Models\Preference->getLocaleOptions())
|
|
|
|
|
|
|
2014-10-10 19:54:19 +00:00
|
|
|
*/
|
|
|
|
|
|
2021-05-03 14:30:20 +00:00
|
|
|
'locale' => 'en',
|
2014-10-10 19:54:19 +00:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Application Fallback Locale
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| The fallback locale determines the locale to use when the current one
|
|
|
|
|
| is not available. You may change the value to correspond to any of
|
|
|
|
|
| the language folders that are provided through your application.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
'fallback_locale' => 'en',
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Encryption Key
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| This key is used by the Illuminate encrypter service and should be set
|
|
|
|
|
| to a random, 32 character string, otherwise these encrypted strings
|
|
|
|
|
| will not be safe. Please do this before deploying an application!
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2021-04-15 09:44:43 +00:00
|
|
|
'key' => env('APP_KEY', ''),
|
2014-10-10 19:54:19 +00:00
|
|
|
|
2016-01-29 05:15:25 +00:00
|
|
|
'cipher' => 'AES-256-CBC',
|
2014-10-10 19:54:19 +00:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Autoloaded Service Providers
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| The service providers listed here will be automatically loaded on the
|
|
|
|
|
| request to your application. Feel free to add your own services to
|
|
|
|
|
| this array to grant expanded functionality to your applications.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2016-01-02 14:41:27 +00:00
|
|
|
'providers' => array_merge(include(base_path('modules/system/providers.php')), [
|
2014-10-10 19:54:19 +00:00
|
|
|
|
|
|
|
|
// 'Illuminate\Html\HtmlServiceProvider', // Example
|
2023-05-02 06:53:47 +00:00
|
|
|
// 'Laravel\Scout\ScoutServiceProvider',
|
|
|
|
|
// 'Meilisearch\Scout\MeilisearchServiceProvider',
|
2014-10-10 19:54:19 +00:00
|
|
|
'System\ServiceProvider',
|
2015-03-11 19:30:41 +00:00
|
|
|
]),
|
2014-10-10 19:54:19 +00:00
|
|
|
|
2020-06-23 02:40:36 +00:00
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Load automatically discovered packages
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| By default, October CMS disables the loading of discovered packages
|
|
|
|
|
| through Laravel's package discovery service, in order to allow packages
|
|
|
|
|
| used by plugins to be disabled if the plugin itself is disabled.
|
|
|
|
|
|
|
|
|
|
|
| Set this to `true` to enable automatic loading of these packages. This
|
|
|
|
|
| will result in packages being loaded, even if the plugin using them is
|
2020-06-23 03:58:08 +00:00
|
|
|
| disabled. This is NOT RECOMMENDED.
|
2020-06-23 02:40:36 +00:00
|
|
|
|
|
|
|
|
|
| Please note that packages defined in `app.providers` will still be loaded
|
|
|
|
|
| even if discovery is disabled.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
'loadDiscoveredPackages' => false,
|
2021-04-01 06:04:39 +00:00
|
|
|
|
2014-10-10 19:54:19 +00:00
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Class Aliases
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| This array of class aliases will be registered when this application
|
|
|
|
|
| is started. However, feel free to register as many as you wish as
|
|
|
|
|
| the aliases are "lazy" loaded so they don't hinder performance.
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2016-01-02 14:41:27 +00:00
|
|
|
'aliases' => array_merge(include(base_path('modules/system/aliases.php')), [
|
2014-10-10 19:54:19 +00:00
|
|
|
|
|
|
|
|
// 'Str' => 'Illuminate\Support\Str', // Example
|
|
|
|
|
|
2015-03-11 19:30:41 +00:00
|
|
|
]),
|
2014-05-14 13:24:20 +00:00
|
|
|
|
2015-03-11 19:30:41 +00:00
|
|
|
];
|