aboutsummaryrefslogtreecommitdiff
path: root/engine/handlers
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-23 13:31:50 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-23 13:31:50 +0000
commit7dc3d72e9d9a1d2cc919a14cc1df5171b91d62ad (patch)
tree5fc8a2925865fcd9bf4ba665dcc9b28af9e2870c /engine/handlers
parent85b50974f4bc4165931c9000963c3f76c6b5c409 (diff)
downloadelgg-7dc3d72e9d9a1d2cc919a14cc1df5171b91d62ad.tar.gz
elgg-7dc3d72e9d9a1d2cc919a14cc1df5171b91d62ad.tar.bz2
Hook for better walled garden
git-svn-id: https://code.elgg.org/elgg/trunk@2894 36083f99-b078-4883-b0ff-0f9b5a30f544
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;