5 'env' => env('APP_ENV', 'production'),
8 * Set the default view type for various lists. Can be overridden by user preferences.
9 * This will be used for public viewers and users that have not set a preference.
12 'books' => env('APP_VIEWS_BOOKS', 'list')
16 * The number of revisions to keep in the database.
17 * Once this limit is reached older revisions will be deleted.
18 * If set to false then a limit will not be enforced.
20 'revision_limit' => env('REVISION_LIMIT', 50),
23 * Allow <script> tags to entered within page content.
24 * <script> tags are escaped by default.
25 * Even when overridden the WYSIWYG editor may still escape script content.
27 'allow_content_scripts' => env('ALLOW_CONTENT_SCRIPTS', false),
30 * Override the default behaviour for allowing crawlers to crawl the instance.
31 * May be ignored if view has be overridden or modified.
32 * Defaults to null since, if not set, 'app-public' status used instead.
34 'allow_robots' => env('ALLOW_ROBOTS', null),
37 |--------------------------------------------------------------------------
38 | Application Debug Mode
39 |--------------------------------------------------------------------------
41 | When your application is in debug mode, detailed error messages with
42 | stack traces will be shown on every error that occurs within your
43 | application. If disabled, a simple generic error page is shown.
47 'debug' => env('APP_DEBUG', false),
50 |--------------------------------------------------------------------------
52 |--------------------------------------------------------------------------
54 | This URL is used by the console to properly generate URLs when using
55 | the Artisan command line tool. You should set this to the root of
56 | your application so that it is used when running Artisan tasks.
60 'url' => env('APP_URL', '') === 'http://bookstack.dev' ? '' : env('APP_URL', ''),
63 |--------------------------------------------------------------------------
64 | Application Timezone
65 |--------------------------------------------------------------------------
67 | Here you may specify the default timezone for your application, which
68 | will be used by the PHP date and date-time functions. We have gone
69 | ahead and set this to a sensible default for you out of the box.
76 |--------------------------------------------------------------------------
77 | Application Locale Configuration
78 |--------------------------------------------------------------------------
80 | The application locale determines the default locale that will be used
81 | by the translation service provider. You are free to set this value
82 | to any of the locales which will be supported by the application.
86 'locale' => env('APP_LANG', 'en'),
87 'locales' => ['en', 'ar', 'de', 'es', 'es_AR', 'fr', 'nl', 'pt_BR', 'sk', 'sv', 'kr', 'ja', 'pl', 'it', 'ru', 'zh_CN', 'zh_TW'],
90 |--------------------------------------------------------------------------
91 | Right-to-left text control
92 |--------------------------------------------------------------------------
94 | Right-to-left text control is set to false by default since English
95 | is the primary supported application but this may be dynamically
96 | altered by the applications localization system.
103 |--------------------------------------------------------------------------
104 | Auto-detect the locale for public users
105 |--------------------------------------------------------------------------
107 | For public users their locale can be guessed by headers sent by their
108 | browser. This is usually set by users in their browser settings.
109 | If not found the default app locale will be used.
112 'auto_detect_locale' => env('APP_AUTO_LANG_PUBLIC', true),
115 |--------------------------------------------------------------------------
116 | Application Fallback Locale
117 |--------------------------------------------------------------------------
119 | The fallback locale determines the locale to use when the current one
120 | is not available. You may change the value to correspond to any of
121 | the language folders that are provided through your application.
125 'fallback_locale' => 'en',
128 |--------------------------------------------------------------------------
130 |--------------------------------------------------------------------------
132 | This key is used by the Illuminate encrypter service and should be set
133 | to a random, 32 character string, otherwise these encrypted strings
134 | will not be safe. Please do this before deploying an application!
138 'key' => env('APP_KEY', 'AbAZchsay4uBTU33RubBzLKw203yqSqr'),
140 'cipher' => 'AES-256-CBC',
143 |--------------------------------------------------------------------------
144 | Logging Configuration
145 |--------------------------------------------------------------------------
147 | Here you may configure the log settings for your application. Out of
148 | the box, Laravel uses the Monolog PHP logging library. This gives
149 | you a variety of powerful log handlers / formatters to utilize.
151 | Available Settings: "single", "daily", "syslog", "errorlog"
155 'log' => env('APP_LOGGING', 'single'),
158 |--------------------------------------------------------------------------
159 | Autoloaded Service Providers
160 |--------------------------------------------------------------------------
162 | The service providers listed here will be automatically loaded on the
163 | request to your application. Feel free to add your own services to
164 | this array to grant expanded functionality to your applications.
171 * Laravel Framework Service Providers...
173 Illuminate\Auth\AuthServiceProvider::class,
174 Illuminate\Broadcasting\BroadcastServiceProvider::class,
175 Illuminate\Bus\BusServiceProvider::class,
176 Illuminate\Cache\CacheServiceProvider::class,
177 Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
178 Illuminate\Cookie\CookieServiceProvider::class,
179 Illuminate\Database\DatabaseServiceProvider::class,
180 Illuminate\Encryption\EncryptionServiceProvider::class,
181 Illuminate\Filesystem\FilesystemServiceProvider::class,
182 Illuminate\Foundation\Providers\FoundationServiceProvider::class,
183 Illuminate\Hashing\HashServiceProvider::class,
184 Illuminate\Mail\MailServiceProvider::class,
185 Illuminate\Pipeline\PipelineServiceProvider::class,
186 Illuminate\Queue\QueueServiceProvider::class,
187 Illuminate\Redis\RedisServiceProvider::class,
188 Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
189 Illuminate\Session\SessionServiceProvider::class,
190 Illuminate\Translation\TranslationServiceProvider::class,
191 Illuminate\Validation\ValidationServiceProvider::class,
192 Illuminate\View\ViewServiceProvider::class,
193 Illuminate\Notifications\NotificationServiceProvider::class,
194 SocialiteProviders\Manager\ServiceProvider::class,
199 Intervention\Image\ImageServiceProvider::class,
200 Barryvdh\DomPDF\ServiceProvider::class,
201 Barryvdh\Snappy\ServiceProvider::class,
205 * Application Service Providers...
207 BookStack\Providers\PaginationServiceProvider::class,
209 BookStack\Providers\AuthServiceProvider::class,
210 BookStack\Providers\AppServiceProvider::class,
211 BookStack\Providers\BroadcastServiceProvider::class,
212 BookStack\Providers\EventServiceProvider::class,
213 BookStack\Providers\RouteServiceProvider::class,
214 BookStack\Providers\CustomFacadeProvider::class,
218 |--------------------------------------------------------------------------
220 |--------------------------------------------------------------------------
222 | This array of class aliases will be registered when this application
223 | is started. However, feel free to register as many as you wish as
224 | the aliases are "lazy" loaded so they don't hinder performance.
230 'App' => Illuminate\Support\Facades\App::class,
231 'Artisan' => Illuminate\Support\Facades\Artisan::class,
232 'Auth' => Illuminate\Support\Facades\Auth::class,
233 'Blade' => Illuminate\Support\Facades\Blade::class,
234 'Bus' => Illuminate\Support\Facades\Bus::class,
235 'Cache' => Illuminate\Support\Facades\Cache::class,
236 'Config' => Illuminate\Support\Facades\Config::class,
237 'Cookie' => Illuminate\Support\Facades\Cookie::class,
238 'Crypt' => Illuminate\Support\Facades\Crypt::class,
239 'DB' => Illuminate\Support\Facades\DB::class,
240 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
241 'Event' => Illuminate\Support\Facades\Event::class,
242 'File' => Illuminate\Support\Facades\File::class,
243 'Hash' => Illuminate\Support\Facades\Hash::class,
244 'Input' => Illuminate\Support\Facades\Input::class,
245 'Inspiring' => Illuminate\Foundation\Inspiring::class,
246 'Lang' => Illuminate\Support\Facades\Lang::class,
247 'Log' => Illuminate\Support\Facades\Log::class,
248 'Mail' => Illuminate\Support\Facades\Mail::class,
249 'Notification' => Illuminate\Support\Facades\Notification::class,
250 'Password' => Illuminate\Support\Facades\Password::class,
251 'Queue' => Illuminate\Support\Facades\Queue::class,
252 'Redirect' => Illuminate\Support\Facades\Redirect::class,
253 'Redis' => Illuminate\Support\Facades\Redis::class,
254 'Request' => Illuminate\Support\Facades\Request::class,
255 'Response' => Illuminate\Support\Facades\Response::class,
256 'Route' => Illuminate\Support\Facades\Route::class,
257 'Schema' => Illuminate\Support\Facades\Schema::class,
258 'Session' => Illuminate\Support\Facades\Session::class,
259 'Storage' => Illuminate\Support\Facades\Storage::class,
260 'URL' => Illuminate\Support\Facades\URL::class,
261 'Validator' => Illuminate\Support\Facades\Validator::class,
262 'View' => Illuminate\Support\Facades\View::class,
263 'Socialite' => Laravel\Socialite\Facades\Socialite::class,
269 'ImageTool' => Intervention\Image\Facades\Image::class,
270 'DomPDF' => Barryvdh\DomPDF\Facade::class,
271 'SnappyPDF' => Barryvdh\Snappy\Facades\SnappyPdf::class,
277 'Activity' => BookStack\Facades\Activity::class,
278 'Setting' => BookStack\Facades\Setting::class,
279 'Views' => BookStack\Facades\Views::class,
280 'Images' => BookStack\Facades\Images::class,
284 'proxies' => env('APP_PROXIES', ''),