diff options
Diffstat (limited to 'engine/handlers')
-rw-r--r-- | engine/handlers/action_handler.php | 38 | ||||
-rw-r--r-- | engine/handlers/cron_handler.php | 2 | ||||
-rw-r--r-- | engine/handlers/pagehandler.php | 48 | ||||
-rw-r--r-- | engine/handlers/xml-rpc_handler.php | 2 |
4 files changed, 45 insertions, 45 deletions
diff --git a/engine/handlers/action_handler.php b/engine/handlers/action_handler.php index 1e769eebd..4878084ad 100644 --- a/engine/handlers/action_handler.php +++ b/engine/handlers/action_handler.php @@ -1,21 +1,21 @@ -<?php
-
- /**
- * Elgg action handler
- *
- * @package Elgg
- * @subpackage Core
+<?php - * @author Curverider Ltd
+ /** + * Elgg action handler + * + * @package Elgg + * @subpackage Core - * @link http://elgg.org/
- */
- /**
- * Load Elgg framework
- */
- define('externalpage',true);
- require_once("../start.php");
- $action = get_input("action");
- action($action);
-
-?>
+ * @author Curverider Ltd + + * @link http://elgg.org/ + */ + /** + * Load Elgg framework + */ + define('externalpage',true); + require_once("../start.php"); + $action = get_input("action"); + action($action); + +?> diff --git a/engine/handlers/cron_handler.php b/engine/handlers/cron_handler.php index a379a0e20..71a8cf2a4 100644 --- a/engine/handlers/cron_handler.php +++ b/engine/handlers/cron_handler.php @@ -8,7 +8,7 @@ * @link http://elgg.org/ */ - // Load Elgg engine
+ // Load Elgg engine define('externalpage',true); require_once("../start.php"); global $CONFIG; diff --git a/engine/handlers/pagehandler.php b/engine/handlers/pagehandler.php index 167d54957..506ae9802 100644 --- a/engine/handlers/pagehandler.php +++ b/engine/handlers/pagehandler.php @@ -1,27 +1,27 @@ -<?php
-
- /**
- * Elgg page handler
- *
- * @package Elgg
- * @subpackage Core
+<?php - * @author Curverider Ltd
+ /** + * Elgg page handler + * + * @package Elgg + * @subpackage Core + + * @author Curverider Ltd + + * @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(); + } - * @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 diff --git a/engine/handlers/xml-rpc_handler.php b/engine/handlers/xml-rpc_handler.php index 6be9b4a09..bc87306c7 100644 --- a/engine/handlers/xml-rpc_handler.php +++ b/engine/handlers/xml-rpc_handler.php @@ -8,7 +8,7 @@ * @link http://elgg.org/ */ - // Load Elgg engine
+ // Load Elgg engine define('externalpage',true); require_once("../start.php"); global $CONFIG; |