aboutsummaryrefslogtreecommitdiff
path: root/engine/handlers/pagehandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/handlers/pagehandler.php')
-rw-r--r--engine/handlers/pagehandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/handlers/pagehandler.php b/engine/handlers/pagehandler.php
index a92c2f408..e824b5232 100644
--- a/engine/handlers/pagehandler.php
+++ b/engine/handlers/pagehandler.php
@@ -17,7 +17,7 @@
* @link http://docs.elgg.org/Tutorials/PageHandlers
*/
-require_once("../start.php");
+require_once(dirname(dirname(__FILE__)) . "/start.php");
$handler = get_input('handler');
$page = get_input('page');