-
Notifications
You must be signed in to change notification settings - Fork 179
/
bootstrap.php
26 lines (20 loc) · 974 Bytes
/
bootstrap.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
/*
* Global constants used in the analysed code need to be defined in bootstrap files.
*/
define( 'WEBSTORIES_VERSION', '0.0.0' );
define( 'WEBSTORIES_DB_VERSION', '0.0.0' );
define( 'WEBSTORIES_AMP_VERSION', '0.0.0' );
define( 'WEBSTORIES_PLUGIN_FILE', dirname( __DIR__, 2 ) . '/web-stories.php' ); // phpcs:ignore PHPCompatibility.FunctionUse.NewFunctionParameters.dirname_levelsFound
define( 'WEBSTORIES_PLUGIN_DIR_PATH', dirname( WEBSTORIES_PLUGIN_FILE ) );
define( 'WEBSTORIES_PLUGIN_DIR_URL', 'https://example.com/wp-content/plugins/web-stories/' );
define( 'WEBSTORIES_CDN_URL', 'https://wp.stories.google/static/main/' );
define( 'WEBSTORIES_MINIMUM_PHP_VERSION', '7.4' );
define( 'WEBSTORIES_MINIMUM_WP_VERSION', '6.2' );
define( 'WEBSTORIES_DEV_MODE', true );
define( 'WPCOM_IS_VIP_ENV', true );
define( 'AMP__VERSION', '1.2.3' );
// Used only in tests:
define( 'WPINC', '' );
define( 'DIR_TESTDATA', '' );
define( 'WEB_STORIES_TEST_DATA_DIR', '' );