From c85e19f908dc724933a2775cbcd8cf5b0426e529 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 28 Jul 2008 17:36:07 +0000 Subject: Adding updateclient (non-functional) and now switching back to base station. git-svn-id: https://code.elgg.org/elgg/trunk@1562 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/updateclient/start.php | 63 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 mod/updateclient/start.php (limited to 'mod/updateclient/start.php') diff --git a/mod/updateclient/start.php b/mod/updateclient/start.php new file mode 100644 index 000000000..0f52146f9 --- /dev/null +++ b/mod/updateclient/start.php @@ -0,0 +1,63 @@ +url . "pg/updateclient/core/"); + //add_submenu_item(elgg_echo('updateclient:label:plugins'), $CONFIG->url . "pg/updateclient/plugins/"); + + // See what context we're using + switch($page[0]) + { + case "core" : + include($CONFIG->pluginspath . "updateclient/index.php"); + break; + case "plugins" : + include($CONFIG->pluginspath . "updateclient/plugin.php"); + break; + + default: + include($CONFIG->pluginspath . "updateclient/index.php"); + } + } + else + include($CONFIG->pluginspath . "updateclient/index.php"); + } + + function updateclient_check_core() + { + + } + + // Initialise + register_elgg_event_handler('init','system','updateclient_init'); +?> \ No newline at end of file -- cgit v1.2.3