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:
parent
81b6cab94f
commit
058c15a9f4
|
@ -1,4 +1,13 @@
|
||||||
<?php
|
<?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(
|
return array(
|
||||||
'ftp'=>array(
|
'ftp'=>array(
|
||||||
'run'=>false,
|
'run'=>false,
|
||||||
|
|
Loading…
Reference in New Issue