-
Notifications
You must be signed in to change notification settings - Fork 13
/
constants.php
33 lines (29 loc) · 1.01 KB
/
constants.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
<?php
if ( !defined( 'SPID__LIB_DIR' ) ) {
define( 'SPID__LIB_DIR', plugin_dir_path( __FILE__ ) . 'lib/' );
}
if ( !defined( 'SPID__LIB_URL' ) ) {
define( 'SPID__LIB_URL', plugin_dir_url( __FILE__ ) . 'lib/www' );
}
if ( !defined( 'SPID__PERM_DIR' ) ) {
define( 'SPID__PERM_DIR', WP_CONTENT_DIR .'/spid' );
}
if ( !defined( 'SPID__CONFIG_DIR' ) ) {
define( 'SPID__CONFIG_DIR', SPID__PERM_DIR .'/config' );
}
if ( !defined( 'SPID__CERT_DIR' ) ) {
define( 'SPID__CERT_DIR', SPID__PERM_DIR .'/cert/' );
}
if ( !defined( 'SPID__TEMP_DIR' ) ) {
define( 'SPID__TEMP_DIR', SPID__PERM_DIR .'/tmp' );
}
if ( !defined( 'SPID__DATA_DIR' ) ) {
define( 'SPID__DATA_DIR', SPID__PERM_DIR .'/data' );
}
if ( !defined( 'SPID__LOG_DIR' ) ) {
define( 'SPID__LOG_DIR', SPID__PERM_DIR .'/log' );
}
if ( !defined( 'SPID__METADATA_DIR' ) ) {
define( 'SPID__METADATA_DIR', SPID__PERM_DIR .'/metadata' );
}
?>