From e6f2aab29afb89bc07ff8bd867a9c69f85f1eb21 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Wed, 8 Jun 2011 00:16:53 +0000 Subject: using the page handler for the admin page --- start.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'start.php') diff --git a/start.php b/start.php index d7110dfd0..60dc46579 100644 --- a/start.php +++ b/start.php @@ -203,7 +203,7 @@ function tidypics_adminmenu() { global $CONFIG; if (get_context() == 'admin' && isadminloggedin()) { - add_submenu_item(elgg_echo('tidypics:administration'), $CONFIG->url . "mod/tidypics/pages/admin.php"); + add_submenu_item(elgg_echo('tidypics:administration'), $CONFIG->url . "pg/photos/admin/"); } } @@ -365,6 +365,10 @@ function tidypics_page_handler($page) { } include($CONFIG->pluginspath . "tidypics/pages/flickr/setup.php"); break; + + case "admin": + include ($CONFIG->pluginspath . "tidypics/pages/admin.php"); + break; } } else { -- cgit v1.2.3