mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
* fixed global config variable in twig templates
* rest from account.create_character moved to twig * fixed some grammar errors * fixed some separators in kathrine template
This commit is contained in:
@@ -25,6 +25,8 @@ require(SYSTEM . 'status.php');
|
||||
require(SYSTEM . 'login.php');
|
||||
require(ADMIN . 'includes/functions.php');
|
||||
|
||||
$twig->addGlobal('config', $config);
|
||||
|
||||
// if we're not logged in - show login box
|
||||
if(!$logged || !admin()) {
|
||||
$page = 'login';
|
||||
|
Reference in New Issue
Block a user