aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-22 11:28:31 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-22 11:28:31 +0000
commitf7dad29f41c124e76e8fda6ecf58440ed4a0027c (patch)
tree8838fa9f2016d40fa39ee38f823bb49f061d23f3 /engine
parentdfc41712e3343c6e9ab3ba8327c454c5cd3179b1 (diff)
downloadelgg-f7dad29f41c124e76e8fda6ecf58440ed4a0027c.tar.gz
elgg-f7dad29f41c124e76e8fda6ecf58440ed4a0027c.tar.bz2
The context is now set automatically when the page handler is in use.
git-svn-id: https://code.elgg.org/elgg/trunk@678 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/pagehandler.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/pagehandler.php b/engine/lib/pagehandler.php
index 267d34bd2..471f776f9 100644
--- a/engine/lib/pagehandler.php
+++ b/engine/lib/pagehandler.php
@@ -22,6 +22,8 @@
global $CONFIG;
+ set_context($handler);
+
$query = parse_url($_SERVER['REQUEST_URI']);
if (isset($query['query'])) {
$query = $query['query'];