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

Read configuratons for external filesystem test from a private place.
remotes/origin/stable6
Thomas Müller 12 years ago
commit 705ab358d8
  1. 9
      apps/files_external/tests/config.php

@ -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…
Cancel
Save