From: Thomas Mueller Date: Thu, 6 Jun 2013 22:04:46 +0000 (+0200) Subject: Read configuratons for external filesystem test from a private place. X-Git-Tag: v5.0.10~40^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=efd3308711d5cd0d5e4d6b9289b894c358e9b8e2;p=nextcloud-server.git Read configuratons for external filesystem test from a private place. This will help not to accidentially push private data and enable testing on our ci server. --- diff --git a/apps/files_external/tests/config.php b/apps/files_external/tests/config.php index 1d4f30c713d..bac594b485f 100644 --- a/apps/files_external/tests/config.php +++ b/apps/files_external/tests/config.php @@ -1,4 +1,13 @@ use them +$privateConfigFile = $_SERVER['HOME'] . '/owncloud-extfs-test-config.php'; +if (file_exists($privateConfigFile)) { + $config = include($privateConfigFile); + return $config; +} + +// this is now more a template now for your private configurations return array( 'ftp'=>array( 'run'=>false,