shlink/config/autoload/common.global.php

16 lines
375 B
PHP
Raw Normal View History

2016-04-10 02:38:07 -05:00
<?php
2019-10-05 10:26:10 -05:00
2017-10-12 03:13:20 -05:00
declare(strict_types=1);
2016-04-10 02:38:07 -05:00
2020-01-01 14:11:53 -06:00
use Laminas\ConfigAggregator\ConfigAggregator;
2018-11-18 09:02:52 -06:00
2016-04-10 02:38:07 -05:00
return [
'debug' => false,
// Disabling config cache for cli, ensures it's never used for openswoole/RoadRunner, and also that console
// commands don't generate a cache file that's then used by php-fpm web executions
ConfigAggregator::ENABLE_CACHE => PHP_SAPI !== 'cli',
2016-04-10 02:38:07 -05:00
];