mirror of
https://github.com/nextcloud/server.git
synced 2024-08-27 17:55:28 +02:00
24 lines
462 B
PHP
24 lines
462 B
PHP
<?php
|
|
$CONFIG = [
|
|
'appstoreenabled' => false,
|
|
'apps_paths' => [
|
|
[
|
|
'path' => OC::$SERVERROOT . '/apps',
|
|
'url' => '/apps',
|
|
'writable' => true,
|
|
],
|
|
],
|
|
];
|
|
|
|
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'];
|
|
}
|