diff options
Diffstat (limited to 'apps/contacts/ajax/contact/delete.php')
-rw-r--r-- | apps/contacts/ajax/contact/delete.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/contacts/ajax/contact/delete.php b/apps/contacts/ajax/contact/delete.php index 9777046fc82..def98b36705 100644 --- a/apps/contacts/ajax/contact/delete.php +++ b/apps/contacts/ajax/contact/delete.php @@ -23,7 +23,8 @@ OCP\JSON::checkLoggedIn(); OCP\JSON::checkAppEnabled('contacts'); OCP\JSON::callCheck(); -require_once 'loghandler.php'; + +require_once __DIR__.'/../loghandler.php'; $id = isset($_POST['id'])?$_POST['id']:null; if(!$id) { |