Make WordPress Core

Changeset 36 in tests


Ignore:
Timestamp:
09/27/2007 08:53:12 AM (18 years ago)
Author:
tellyworth
Message:

make it possible to override DIR_TESTPLUGINS in wp-config.php

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-config-sample.php

    r1 r36  
    2525define ('WPLANG', '');
    2626
     27// uncomment and change this if you'd like to load plugins from a particular directory prior to testing
     28#define('DIR_TESTPLUGINS', './wp-plugins');
    2729?>
  • wp-test.php

    r34 r36  
    66define('DIR_TESTCASE', './wp-testcase');
    77define('DIR_TESTDATA', './wp-testdata');
    8 define('DIR_TESTPLUGINS', './wp-plugins');
    98define('TEST_MU', (@$opts['v'] == 'mu'));
    109
     
    3130require_once(DIR_TESTROOT.'/wp-config.php');
    3231define('ABSPATH', realpath(DIR_WP).'/');
     32
     33if (!defined('DIR_TESTPLUGINS'))
     34    define('DIR_TESTPLUGINS', './wp-plugins');
    3335
    3436// override stuff
Note: See TracChangeset for help on using the changeset viewer.