Sfoglia il codice sorgente

Move test config folder to tests/config

tags/v7.0.0alpha2
Robin Appelman 10 anni fa
parent
commit
164915a3f8
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      lib/base.php

+ 2
- 2
lib/base.php Vedi File

@@ -103,8 +103,8 @@ class OC {
get_include_path()
);

if(defined('PHPUNIT_RUN') and PHPUNIT_RUN and is_dir(OC::$SERVERROOT . '/test_config/')) {
self::$configDir = OC::$SERVERROOT . '/test_config/';
if(defined('PHPUNIT_RUN') and PHPUNIT_RUN and is_dir(OC::$SERVERROOT . '/tests/config/')) {
self::$configDir = OC::$SERVERROOT . '/tests/config/';
} else {
self::$configDir = OC::$SERVERROOT . '/config/';
}

Loading…
Annulla
Salva