diff options
-rw-r--r-- | engine/handlers/action_handler.php | 1 | ||||
-rw-r--r-- | engine/handlers/cron_handler.php | 3 | ||||
-rw-r--r-- | engine/handlers/xml-rpc_handler.php | 3 | ||||
-rw-r--r-- | index.php | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/engine/handlers/action_handler.php b/engine/handlers/action_handler.php index fa5a40a7a..9dc9a4408 100644 --- a/engine/handlers/action_handler.php +++ b/engine/handlers/action_handler.php @@ -13,6 +13,7 @@ /**
* 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 639884da4..5259fe5a3 100644 --- a/engine/handlers/cron_handler.php +++ b/engine/handlers/cron_handler.php @@ -10,7 +10,8 @@ * @link http://elgg.org/ */ - // Load Elgg engine + // Load Elgg engine
+ define('externalpage',true); require_once("../start.php"); global $CONFIG; diff --git a/engine/handlers/xml-rpc_handler.php b/engine/handlers/xml-rpc_handler.php index 82801a56f..ca75a9c24 100644 --- a/engine/handlers/xml-rpc_handler.php +++ b/engine/handlers/xml-rpc_handler.php @@ -10,7 +10,8 @@ * @link http://elgg.org/ */ - // Load Elgg engine + // Load Elgg engine
+ define('externalpage',true); require_once("../start.php"); global $CONFIG; @@ -14,6 +14,7 @@ /**
* Start the Elgg engine
*/
+ define('externalpage',true);
require_once(dirname(__FILE__) . "/engine/start.php"); |