]> git.mxchange.org Git - friendica-addons.git/blobdiff - dav/SabreDAV/tests/bootstrap.php
Second part of refactoring; should be runnable again, yet not thoroughly tested
[friendica-addons.git] / dav / SabreDAV / tests / bootstrap.php
index 8dcae248b6f7680d1cbf92a6054216e8267a4afd..c3be7366cd74fbf86f39599b721c20cbbef27b24 100644 (file)
@@ -4,9 +4,9 @@ define('SABRE_MYSQLDSN','mysql:host=127.0.0.1;dbname=sabredav');
 define('SABRE_MYSQLUSER','root');
 define('SABRE_MYSQLPASS','');
 
-set_include_path(dirname(__FILE__) . PATH_SEPARATOR . dirname(__FILE__) . '/../lib/' . PATH_SEPARATOR . get_include_path());
+set_include_path(__DIR__ . '/../lib/' . PATH_SEPARATOR . __DIR__ . PATH_SEPARATOR . get_include_path());
 
-include 'Sabre/autoload.php';
+include __DIR__ . '/../vendor/autoload.php';
 include 'Sabre/DAVServerTest.php';
 
 date_default_timezone_set('GMT');