diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-14 21:36:23 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-14 21:36:23 +0000 |
commit | eb565e33569541981713c24d643ff89517db237c (patch) | |
tree | 564797c60f1fb86e5d86f4da563693c312948cdc /engine/handlers/pagehandler.php | |
parent | 13796a10ef50d0afe045a3a199a5b19dd5b9bc45 (diff) | |
download | elgg-eb565e33569541981713c24d643ff89517db237c.tar.gz elgg-eb565e33569541981713c24d643ff89517db237c.tar.bz2 |
Standardized engine/handlers/*
git-svn-id: http://code.elgg.org/elgg/trunk@3545 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/handlers/pagehandler.php')
-rw-r--r-- | engine/handlers/pagehandler.php | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/engine/handlers/pagehandler.php b/engine/handlers/pagehandler.php index 506ae9802..a0837caa1 100644 --- a/engine/handlers/pagehandler.php +++ b/engine/handlers/pagehandler.php @@ -1,27 +1,22 @@ <?php +/** + * Elgg page handler + * + * @package Elgg + * @subpackage Core + * @author Curverider Ltd + * @link http://elgg.org/ + */ - /** - * Elgg page handler - * - * @package Elgg - * @subpackage Core +// Load Elgg engine +// define('externalpage',true); +require_once("../start.php"); - * @author Curverider Ltd +// Get input +$handler = get_input('handler'); +$page = get_input('page'); - * @link http://elgg.org/ - */ - - // Load Elgg engine - // define('externalpage',true); - require_once("../start.php"); - - // Get input - $handler = get_input('handler'); - $page = get_input('page'); - - // Call the page handler functions - if (!page_handler($handler, $page)) { - forward(); - } - -?>
\ No newline at end of file +// Call the page handler functions +if (!page_handler($handler, $page)) { + forward(); +}
\ No newline at end of file |