mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
better
This commit is contained in:
parent
6880772726
commit
2084786567
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ if (php_sapi_name() === 'cli-server' && is_file(__DIR__.preg_replace('#(\?.*)$#'
|
|||
|
||||
include __DIR__ . '/../bootstrap.php';
|
||||
|
||||
define('IS_PRODUCTION', Config::get('is_prod'));
|
||||
define('IS_PRODUCTION', Config::get('is_prod') === "yes");
|
||||
|
||||
ini_set('display_errors', IS_PRODUCTION ? 'off' : 'on');
|
||||
error_reporting(IS_PRODUCTION ? 0 : (E_ALL | E_STRICT));
|
||||
|
|
Loading…
Add table
Reference in a new issue