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;