Merge pull request #3622 from owncloud/read-extfx-confg-from-home

Read configuratons for external filesystem test from a private place.
This commit is contained in:
Thomas Müller 2013-06-06 16:19:48 -07:00
commit 705ab358d8
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,