-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbootstrap.php
40 lines (33 loc) · 1.02 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/*
* WordPress constants not included in phpstan-wordpress.
*/
if ( ! defined( 'COOKIE_DOMAIN' ) ) {
define( 'COOKIE_DOMAIN', '' );
}
if ( ! defined( 'COOKIEHASH' ) ) {
define( 'COOKIEHASH', '' );
}
if ( ! defined( 'COOKIEPATH' ) ) {
define( 'COOKIEPATH', '' );
}
if ( ! defined( 'WP_CONTENT_DIR' ) ) {
define( 'WP_CONTENT_DIR', './wp-content' );
}
if ( ! defined( 'WP_LANG_DIR' ) ) {
define( 'WP_LANG_DIR', './wp-content/languages' );
}
if ( ! defined( 'WP_PLUGIN_DIR' ) ) {
define( 'WP_PLUGIN_DIR', './wp-content/plugins' );
}
/*
* Polylang constants.
*/
define( 'POLYLANG', 'Polylang' );
define( 'POLYLANG_BASENAME', 'polylang/polylang.php' );
define( 'POLYLANG_DIR', './' );
define( 'POLYLANG_VERSION', '3.0' ); // Must also be defined as dynamic in config file.
define( 'PLL_COOKIE', 'pll_language' );
define( 'PLL_LOCAL_DIR', './wp-content/polylang' );
define( 'PLL_ADMIN', false ); // Must also be defined as dynamic in config file.
define( 'PLL_SETTINGS', false ); // Must also be defined as dynamic in config file.