mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39: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('ADMIN_URL', SERVER_URL . BASE_DIR . '/admin/');
|
||||||
|
|
||||||
//define('CURRENT_URL', BASE_URL . $_SERVER['REQUEST_URI']);
|
//define('CURRENT_URL', BASE_URL . $_SERVER['REQUEST_URI']);
|
||||||
|
if(@$config['env'] === 'dev') {
|
||||||
if(@$config['env'] !== 'prod') {
|
|
||||||
require SYSTEM . 'exception.php';
|
require SYSTEM . 'exception.php';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user