mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
This is better
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user