From 8ba5de4a76d04592504865e22f5d52aa57dd034f Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 17 Jul 2012 12:07:14 +0200 Subject: [PATCH] Fixed require path. --- ajax/categories/delete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajax/categories/delete.php b/ajax/categories/delete.php index 68a308e3..f53d852d 100644 --- a/ajax/categories/delete.php +++ b/ajax/categories/delete.php @@ -11,7 +11,7 @@ OCP\JSON::checkLoggedIn(); OCP\JSON::checkAppEnabled('contacts'); OCP\JSON::callCheck(); -require_once('../loghandler.php'); +require_once(__DIR__.'/../loghandler.php'); $categories = isset($_POST['categories'])?$_POST['categories']:null;