Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl-cms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge multiple ckeditors on one page fix
[wfpl-cms.git]
/
admin_pages.php
diff --git
a/admin_pages.php
b/admin_pages.php
index
7769d73
..
3faba82
100644
(file)
--- a/
admin_pages.php
+++ b/
admin_pages.php
@@
-31,10
+31,7
@@
function admin_pages_get_fields() {
function admin_pages_main() {
function admin_pages_main() {
- if(!logged_in_as_admin()) {
- $_REQUEST['url'] = this_url();
- return 'admin_login';
- }
+ session_auth_must('edit_page');
$id = _REQUEST_cut('edit_id');
if($id) {
$id = _REQUEST_cut('edit_id');
if($id) {