Files
UNIT3D-Community-Edition/config/opcache.php
HDVinnie d618f99a6b (Update) Add OPCache Artisan Commands
NOTE: This is only for those using OPCache!!!

- requires `composer update` to be ran.

-Clear OPcache:
`php artisan opcache:clear`

-Show OPcache config:
`php artisan opcache:config`

-Show OPcache status:
`php artisan opcache:status`

Pre-compile your application code:
`php artisan opcache:optimize`
2018-08-07 17:41:51 -04:00

19 lines
471 B
PHP

<?php
return [
'url' => env('OPCACHE_URL', config('app.url')),
'verify_ssl' => true,
'headers' => [],
'directories' => [
base_path('app'),
base_path('bootstrap'),
base_path('public'),
base_path('resources/lang'),
base_path('routes'),
base_path('storage/framework/views'),
base_path('vendor/appstract'),
base_path('vendor/composer'),
base_path('vendor/laravel/framework'),
],
];