Challenging routing on render_page

This commit is contained in:
Flat 2016-07-02 21:40:46 +09:00
commit 37fb304942
42 changed files with 64 additions and 62 deletions

View file

@ -182,12 +182,12 @@ if (!empty($_POST['ok_acc'])) {
if (empty($_GET['domain'])) {
// Display body for mail domain
render_page($user, $TAB, 'admin/add_mail');
render_page($user, $TAB, 'add_mail');
} else {
// Display body for mail account
$v_domain = $_GET['domain'];
render_page($user, $TAB, 'admin/add_mail_acc');
render_page($user, $TAB, 'add_mail_acc');
}
// Flush session messages