mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 13:24:01 -07:00
Minor improments (#1719)
* Minor improments * Update CHANGELOG.md * Updated * Update common.php
This commit is contained in:
parent
8a0cd5cb84
commit
edab2300d3
4 changed files with 8 additions and 4 deletions
|
@ -89,7 +89,11 @@ if (is_file(BB_PATH . '/library/config.local.php')) {
|
|||
/**
|
||||
* Error reporting
|
||||
*/
|
||||
define('DBG_USER', isset($_COOKIE[COOKIE_DBG]));
|
||||
if (env('APP_ENV') === 'local') {
|
||||
define('DBG_USER', true); // forced debug
|
||||
} else {
|
||||
define('DBG_USER', isset($_COOKIE[COOKIE_DBG]));
|
||||
}
|
||||
(new \TorrentPier\Dev());
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue