| @@ 207-209 (lines=3) @@ | ||
| 204 | OC::$APPSROOTS[] = $paths; |
|
| 205 | } |
|
| 206 | } |
|
| 207 | } elseif (file_exists(OC::$SERVERROOT . '/apps')) { |
|
| 208 | OC::$APPSROOTS[] = array('path' => OC::$SERVERROOT . '/apps', 'url' => '/apps', 'writable' => true); |
|
| 209 | } elseif (file_exists(OC::$SERVERROOT . '/../apps')) { |
|
| 210 | OC::$APPSROOTS[] = array( |
|
| 211 | 'path' => rtrim(dirname(OC::$SERVERROOT), '/') . '/apps', |
|
| 212 | 'url' => '/apps', |
|
| @@ 13-19 (lines=7) @@ | ||
| 10 | ], |
|
| 11 | ]; |
|
| 12 | ||
| 13 | if (is_dir(OC::$SERVERROOT.'/apps2')) { |
|
| 14 | $CONFIG['apps_paths'][] = [ |
|
| 15 | 'path' => OC::$SERVERROOT . '/apps2', |
|
| 16 | 'url' => '/apps2', |
|
| 17 | 'writable' => false, |
|
| 18 | ]; |
|
| 19 | } |
|
| 20 | ||
| 21 | if (substr(strtolower(PHP_OS), 0, 3) === 'win') { |
|
| 22 | $CONFIG['openssl'] = ['config' => OC::$SERVERROOT . '/tests/data/openssl.cnf']; |
|