]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fugly fixed include.
authorThomas Tanghus <thomas@tanghus.net>
Fri, 6 Jul 2012 10:05:43 +0000 (12:05 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Fri, 6 Jul 2012 10:59:07 +0000 (12:59 +0200)
apps/contacts/ajax/categories/rescan.php

index 48ec165381f48ad090ba2ae2d97aa9536736bf18..f9d9ef7ba685346225a3505968023c242bcdd5c8 100644 (file)
@@ -10,7 +10,7 @@
 OCP\JSON::checkLoggedIn();
 OCP\JSON::checkAppEnabled('contacts');
 
-require_once('../loghandler.php');
+require_once(__DIR__.'../loghandler.php');
 
 $addressbooks = OC_Contacts_Addressbook::all(OCP\USER::getUser());
 if(count($addressbooks) == 0) {