Browse Source

Update admin.php

pull/436/head
danpros 4 years ago
parent
commit
5a75046a2f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      system/admin/admin.php

+ 2
- 2
system/admin/admin.php View File

@ -328,7 +328,7 @@ function add_page($title, $url, $content, $description = null)
rebuilt_cache('all'); rebuilt_cache('all');
clear_page_cache($post_url); clear_page_cache($post_url);
$redirect = site_url() . 'admin';
$redirect = site_url() . 'admin/pages';
header("Location: $redirect"); header("Location: $redirect");
} }
} }
@ -362,7 +362,7 @@ function add_sub_page($title, $url, $content, $static, $description = null)
rebuilt_cache('all'); rebuilt_cache('all');
clear_page_cache($post_url); clear_page_cache($post_url);
$redirect = site_url() . 'admin';
$redirect = site_url() . 'admin/pages';
header("Location: $redirect"); header("Location: $redirect");
} }
} }


Loading…
Cancel
Save