aboutsummaryrefslogtreecommitdiff
path: root/engine/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'engine/handlers')
-rw-r--r--engine/handlers/action_handler.php1
-rw-r--r--engine/handlers/cron_handler.php3
-rw-r--r--engine/handlers/xml-rpc_handler.php3
3 files changed, 5 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;