Merge pull request #14993 from owncloud/stop-on-missing-deps
Stop executing, when 3rdparty is missing or apps directory is invalidremotes/origin/etag-endpoint
commit
a87cc90d1e
@ -1,23 +1,23 @@
|
||||
<?php
|
||||
$CONFIG = array (
|
||||
"appstoreenabled" => false,
|
||||
'apps_paths' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'path' => OC::$SERVERROOT.'/apps',
|
||||
'url' => '/apps',
|
||||
'writable' => true,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'path' => OC::$SERVERROOT.'/apps2',
|
||||
'url' => '/apps2',
|
||||
'writable' => false,
|
||||
)
|
||||
),
|
||||
);
|
||||
$CONFIG = [
|
||||
'appstoreenabled' => false,
|
||||
'apps_paths' => [
|
||||
[
|
||||
'path' => OC::$SERVERROOT . '/apps',
|
||||
'url' => '/apps',
|
||||
'writable' => true,
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
if(substr(strtolower(PHP_OS), 0, 3) == "win") {
|
||||
$CONFIG['openssl'] = array( 'config' => OC::$SERVERROOT.'/tests/data/openssl.cnf');
|
||||
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'];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue