diff options
Diffstat (limited to 'src/views/pages')
-rw-r--r-- | src/views/pages/plugins/index.html.php | 2 | ||||
-rw-r--r-- | src/views/pages/users/500.html.php | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/views/pages/plugins/index.html.php b/src/views/pages/plugins/index.html.php index 0e14161..d62b555 100644 --- a/src/views/pages/plugins/index.html.php +++ b/src/views/pages/plugins/index.html.php @@ -2,4 +2,4 @@ $t = $VARS['template']; $t->header('Administrator Plugin Management'); -$t->openTag('form',array('method'=>'post','action'=>$m->baseUrl().plugins)); +$t->openTag('form',array('method'=>'post','action'=>$t->url('plugins'))); diff --git a/src/views/pages/users/500.html.php b/src/views/pages/users/500.html.php index 27038a4..f4f1c42 100644 --- a/src/views/pages/users/500.html.php +++ b/src/views/pages/users/500.html.php @@ -1,5 +1,6 @@ <?php global $VARS, $mm; $t = $VARS['template']; +$db = $mm->database(); $t->status('500 Internal Server Error'); $t->header('Unknown error'); @@ -9,5 +10,5 @@ $t->paragraph("An unknown error was encountered when creating ". "error is on our end. Sorry."); $t->paragraph("Here's a dump of the SQL error stack, it may ". "help us find the issue:"); -$t->tag('pre', array(), htmlentities($mm->mysql_error())); +$t->tag('pre', array(), htmlentities($db->mysql_error())); $t->footer(); |