mirror of
https://github.com/danpros/htmly.git
synced 2026-04-23 14:06:23 +05:30
Update admin.php
This commit is contained in:
parent
48ba0fce9a
commit
5a75046a2f
1 changed files with 2 additions and 2 deletions
|
|
@ -328,7 +328,7 @@ function add_page($title, $url, $content, $description = null)
|
|||
|
||||
rebuilt_cache('all');
|
||||
clear_page_cache($post_url);
|
||||
$redirect = site_url() . 'admin';
|
||||
$redirect = site_url() . 'admin/pages';
|
||||
header("Location: $redirect");
|
||||
}
|
||||
}
|
||||
|
|
@ -362,7 +362,7 @@ function add_sub_page($title, $url, $content, $static, $description = null)
|
|||
|
||||
rebuilt_cache('all');
|
||||
clear_page_cache($post_url);
|
||||
$redirect = site_url() . 'admin';
|
||||
$redirect = site_url() . 'admin/pages';
|
||||
header("Location: $redirect");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue