From efd3308711d5cd0d5e4d6b9289b894c358e9b8e2 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 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, -- 2.39.5