[ Index ] |
PHP Cross Reference of GlotPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Loads GlotPress for the purpose of the unit-tests. 4 * 5 * @package GlotPress 6 * @subpackage Tests 7 */ 8 9 require_once __DIR__ . '/constants.php'; 10 11 $multisite = (int) ( defined( 'WP_TESTS_MULTISITE' ) && WP_TESTS_MULTISITE ); 12 system( WP_PHP_BINARY . ' ' . escapeshellarg( __DIR__ . '/install.php' ) . ' ' . escapeshellarg( WP_TESTS_CONFIG_PATH ) . ' ' . escapeshellarg( WP_TESTS_DIR ) . ' ' . $multisite ); 13 14 // Bootstrap GlotPress. 15 require dirname( dirname( dirname( __DIR__ ) ) ) . '/glotpress.php';
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Nov 21 01:01:07 2024 | Cross-referenced by PHPXref 0.7.1 |