From 0d7a1b4b52d6e5c66d59589dca1ec0b8a3a7e1fd Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 19 Nov 2010 02:23:07 +0000 Subject: switching to using full paths in handlers git-svn-id: http://code.elgg.org/elgg/trunk@7341 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/handlers/action_handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/handlers/action_handler.php') diff --git a/engine/handlers/action_handler.php b/engine/handlers/action_handler.php index a6bdaeae9..cf6c8c9eb 100644 --- a/engine/handlers/action_handler.php +++ b/engine/handlers/action_handler.php @@ -14,7 +14,7 @@ * @link http://docs.elgg.org/Tutorials/Actions */ -require_once("../start.php"); +require_once(dirname(dirname(__FILE__)) . "/start.php"); $action = get_input("action"); action($action); \ No newline at end of file -- cgit v1.2.3