2012-10-27 09:22:00 +00:00
|
|
|
<?php
|
2015-03-19 08:07:29 +00:00
|
|
|
$CONFIG = [
|
|
|
|
'appstoreenabled' => false,
|
|
|
|
'apps_paths' => [
|
|
|
|
[
|
|
|
|
'path' => OC::$SERVERROOT . '/apps',
|
|
|
|
'url' => '/apps',
|
|
|
|
'writable' => true,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
];
|
2013-10-14 22:29:47 +00:00
|
|
|
|
2015-03-19 08:07:29 +00:00
|
|
|
if (is_dir(OC::$SERVERROOT.'/apps2')) {
|
|
|
|
$CONFIG['apps_paths'][] = [
|
|
|
|
'path' => OC::$SERVERROOT . '/apps2',
|
|
|
|
'url' => '/apps2',
|
|
|
|
'writable' => false,
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
if (substr(strtolower(PHP_OS), 0, 3) === 'win') {
|
|
|
|
$CONFIG['openssl'] = ['config' => OC::$SERVERROOT . '/tests/data/openssl.cnf'];
|
2013-10-14 22:29:47 +00:00
|
|
|
}
|