mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
This is better
This commit is contained in:
parent
eead6a2975
commit
19afd73e8a
@ -120,8 +120,7 @@ if(!IS_CLI) {
|
||||
define('ADMIN_URL', SERVER_URL . BASE_DIR . '/admin/');
|
||||
|
||||
//define('CURRENT_URL', BASE_URL . $_SERVER['REQUEST_URI']);
|
||||
|
||||
if(@$config['env'] !== 'prod') {
|
||||
if(@$config['env'] === 'dev') {
|
||||
require SYSTEM . 'exception.php';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user