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:
commit
705ab358d8
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue