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.
This commit is contained in:
Thomas Mueller 2013-06-07 00:04:46 +02:00
parent 81b6cab94f
commit 058c15a9f4
1 changed files with 9 additions and 0 deletions

View File

@ -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,