From 058c15a9f46a69b4849d489b9b53041a5defb6f5 Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Fri, 7 Jun 2013 00:04:46 +0200 Subject: [PATCH] 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. --- apps/files_external/tests/config.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/files_external/tests/config.php b/apps/files_external/tests/config.php index 1d4f30c713..bac594b485 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,