Changeset 8065 for sites/trunk/api.wordpress.org/public_html/core/serve-happy/1.0/tests/bootstrap.php
- Timestamp:
- 01/10/2019 05:45:59 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/core/serve-happy/1.0/tests/bootstrap.php
r6728 r8065 22 22 } 23 23 24 require dirname( __DIR__ ) . '/config.php';25 24 require dirname( __DIR__ ) . '/include.php'; 25 if ( defined( 'WPORGPATH' ) ) { 26 // Running on WordPress.org, include the main mu-plugins config 27 require WPORGPATH . 'wp-content/mu-plugins/pub/servehappy-config.php'; 28 } else { 29 // Assume meta-environment. 30 require dirname( dirname( dirname( dirname( dirname( dirname( __DIR__ ) ) ) ) ) ) . '/wordpress.org/public_html/wp-content/mu-plugins/pub/servehappy-config.php'; 31 }
Note: See TracChangeset
for help on using the changeset viewer.