diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-06-07 00:04:46 +0200 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-06-07 00:04:46 +0200 |
commit | 058c15a9f46a69b4849d489b9b53041a5defb6f5 (patch) | |
tree | e01b1445e0fe4823cc432145dab2bcf0eaad507b /apps/files_external/tests/config.php | |
parent | 81b6cab94fcaa5c3bc76a92d38997cd7928cb37d (diff) | |
download | nextcloud-server-058c15a9f46a69b4849d489b9b53041a5defb6f5.tar.gz nextcloud-server-058c15a9f46a69b4849d489b9b53041a5defb6f5.zip |
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.
Diffstat (limited to 'apps/files_external/tests/config.php')
-rw-r--r-- | apps/files_external/tests/config.php | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ <?php + +// in case there are private configurations in the users home -> 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, |