From de1b95c8e7cc865ca732a53ab7081767ba148ed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Wed, 31 Oct 2012 14:12:09 +0100 Subject: [PATCH 1/2] load logging apps for webdav connections --- apps/files/appinfo/filesync.php | 2 +- apps/files/appinfo/remote.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files/appinfo/filesync.php b/apps/files/appinfo/filesync.php index c1fe444cec7..a21dcbd78a0 100644 --- a/apps/files/appinfo/filesync.php +++ b/apps/files/appinfo/filesync.php @@ -21,7 +21,7 @@ */ // only need filesystem apps -$RUNTIME_APPTYPES=array('filesystem','authentication'); +$RUNTIME_APPTYPES=array('filesystem','authentication','logging'); OC_App::loadApps($RUNTIME_APPTYPES); if(!OC_User::isLoggedIn()) { if(!isset($_SERVER['PHP_AUTH_USER'])) { diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php index a84216b61b7..bad5b95c1c3 100644 --- a/apps/files/appinfo/remote.php +++ b/apps/files/appinfo/remote.php @@ -23,7 +23,7 @@ * */ // only need filesystem apps -$RUNTIME_APPTYPES=array('filesystem','authentication'); +$RUNTIME_APPTYPES=array('filesystem','authentication','logging'); OC_App::loadApps($RUNTIME_APPTYPES); // Backends From 3945f9cdb1c55b97984eb542cf21c319d2ddd052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Wed, 31 Oct 2012 15:45:47 +0100 Subject: [PATCH 2/2] adapted comments to the code changes --- apps/files/appinfo/filesync.php | 2 +- apps/files/appinfo/remote.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files/appinfo/filesync.php b/apps/files/appinfo/filesync.php index a21dcbd78a0..47fc6fb4de6 100644 --- a/apps/files/appinfo/filesync.php +++ b/apps/files/appinfo/filesync.php @@ -20,7 +20,7 @@ * The final URL will look like http://.../remote.php/filesync/oc_chunked/path/to/file */ -// only need filesystem apps +// load needed apps $RUNTIME_APPTYPES=array('filesystem','authentication','logging'); OC_App::loadApps($RUNTIME_APPTYPES); if(!OC_User::isLoggedIn()) { diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php index bad5b95c1c3..a3c78d62b21 100644 --- a/apps/files/appinfo/remote.php +++ b/apps/files/appinfo/remote.php @@ -22,7 +22,7 @@ * License along with this library. If not, see . * */ -// only need filesystem apps +// load needed apps $RUNTIME_APPTYPES=array('filesystem','authentication','logging'); OC_App::loadApps($RUNTIME_APPTYPES);