summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorctucx <leah@antifa.jetzt>2020-06-28 12:11:15 +0200
committerctucx <leah@antifa.jetzt>2020-06-28 12:11:15 +0200
commit417fd8bb50b41738b7ca8d609521ce16e962b276 (patch)
tree0d6aea81655a5c2171e1f3f64432f5a0b6b7e82e
parent8f8f2e5b4871b702c0ab47608fb72e998e903bc4 (diff)
downloadtinyDAV-417fd8bb50b41738b7ca8d609521ce16e962b276.tar.gz
tinyDAV-417fd8bb50b41738b7ca8d609521ce16e962b276.tar.bz2
tinyDAV-417fd8bb50b41738b7ca8d609521ce16e962b276.zip
foo
-rw-r--r--public/dav.php2
-rw-r--r--public/index.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/public/dav.php b/public/dav.php
index a78e1ab..65b924f 100644
--- a/public/dav.php
+++ b/public/dav.php
@@ -40,7 +40,7 @@ require PATH.'lib/Sabre/SabreCardDAVJsonBackend.php';
require PATH.'lib/Sabre/SabreCalDAVJsonBackend.php';
require PATH.'lib/Sabre/FilesPlugin.php';
-$db = new JSONDB(PATH.'/data');
+$db = new JSONDB('/var/lib/tinyDav');
$userMgr = new UserManager($db);
$cardMgr = new AddressbookCollectionManager($db);
diff --git a/public/index.php b/public/index.php
index 36bdb4d..c8bf683 100644
--- a/public/index.php
+++ b/public/index.php
@@ -19,7 +19,7 @@ require PATH.'/lib/CalendarCollectionManager.php';
$pagevars = [];
-$db = new JSONDB(PATH.'/data');
+$db = new JSONDB('/var/lib/tinyDav');
$userMgr = new UserManager($db);
$cardMgr = new AddressbookCollectionManager($db);
$calMgr = new CalendarCollectionManager($db);
@@ -330,4 +330,4 @@ Router::methodNotAllowed(function(){
header("Loctaion: /");
});
-Router::run('/'); \ No newline at end of file
+Router::run('/');