diff options
Diffstat (limited to 'src/views/pages/users')
-rw-r--r-- | src/views/pages/users/500.html.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/views/pages/users/500.html.php b/src/views/pages/users/500.html.php index f4f1c42..339fe63 100644 --- a/src/views/pages/users/500.html.php +++ b/src/views/pages/users/500.html.php @@ -1,6 +1,7 @@ -<?php global $VARS, $mm; +<?php global $VARS; +require_once('Database.class.php'); $t = $VARS['template']; -$db = $mm->database(); +$db = Database::getInstance(); $t->status('500 Internal Server Error'); $t->header('Unknown error'); |