-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathconfig.php
More file actions
108 lines (98 loc) · 4.41 KB
/
config.php
File metadata and controls
108 lines (98 loc) · 4.41 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?php
// Plugin version.
if ( ! defined( 'ATBDP_VERSION' ) ) {
define( 'ATBDP_VERSION', '8.6' );
}
// Plugin Folder Path.
if ( ! defined( 'ATBDP_DIR' ) ) {
define( 'ATBDP_DIR', plugin_dir_path( __FILE__ ) ); }
// Plugin Folder URL.
if ( ! defined( 'ATBDP_URL' ) ) {
define( 'ATBDP_URL', plugin_dir_url( __FILE__ ) ); }
// Plugin Root File.
if ( ! defined( 'ATBDP_FILE' ) ) {
define( 'ATBDP_FILE', __FILE__ ); }
if ( ! defined( 'ATBDP_BASE' ) ) {
define( 'ATBDP_BASE', plugin_basename( __FILE__ ) ); }
// Plugin Text domain File.
if ( ! defined( 'ATBDP_TEXTDOMAIN' ) ) {
define( 'ATBDP_TEXTDOMAIN' , 'directorist' ); }
// Plugin Includes Path
if ( ! defined( 'ATBDP_INC_DIR' ) ) {
define( 'ATBDP_INC_DIR', ATBDP_DIR . 'includes/' ); }
// Plugin Class Path
if ( ! defined( 'ATBDP_CLASS_DIR' ) ) {
define( 'ATBDP_CLASS_DIR', ATBDP_DIR . 'includes/classes/' ); }
// Plugin Model Path
if ( ! defined( 'ATBDP_MODEL_DIR' ) ) {
define( 'ATBDP_MODEL_DIR', ATBDP_DIR . 'includes/model/' ); }
// Plugin Assets Path
if ( ! defined( 'DIRECTORIST_ASSETS_DIR' ) ) {
define( 'DIRECTORIST_ASSETS_DIR', ATBDP_DIR . 'assets/' ); }
// Plugin Template Path
if ( ! defined( 'ATBDP_VIEWS_DIR' ) ) {
define( 'ATBDP_VIEWS_DIR', ATBDP_DIR . 'views/' ); }
if ( ! defined( 'DIRECTORIST_LOAD_MIN_FILES' ) ) {
define( 'DIRECTORIST_LOAD_MIN_FILES', true ); }
if ( ! defined( 'DIRECTORIST_SCRIPT_VERSION' ) ) {
define( 'DIRECTORIST_SCRIPT_VERSION', ATBDP_VERSION ); }
if ( ! defined( 'DIRECTORIST_DISABLE_SHORTCODE_RESTRICTION_ON_SCRIPTS' ) ) {
define( 'DIRECTORIST_DISABLE_SHORTCODE_RESTRICTION_ON_SCRIPTS', false ); }
if ( ! defined( 'DIRECTORIST_DEBUG_SHORTCODE_SCRIPTS' ) ) {
define( 'DIRECTORIST_DEBUG_SHORTCODE_SCRIPTS', false ); }
if ( ! defined( 'DIRECTORIST_DEBUG_SHORTCODE_SCRIPTS_SHOW_ALL' ) ) {
define( 'DIRECTORIST_DEBUG_SHORTCODE_SCRIPTS_SHOW_ALL', false ); }
// Public Assets Path
if ( ! defined( 'DIRECTORIST_ASSETS' ) ) {
define( 'DIRECTORIST_ASSETS', ATBDP_URL . 'assets/' ); }
if ( ! defined( 'ATBDP_PUBLIC_ASSETS' ) ) {
define( 'ATBDP_PUBLIC_ASSETS', DIRECTORIST_ASSETS ); }
if ( ! defined( 'DIRECTORIST_CSS' ) ) {
define( 'DIRECTORIST_CSS', DIRECTORIST_ASSETS . 'css/' ); }
if ( ! defined( 'DIRECTORIST_JS' ) ) {
define( 'DIRECTORIST_JS', DIRECTORIST_ASSETS . 'js/' ); }
if ( ! defined( 'DIRECTORIST_ICON_PATH' ) ) {
define( 'DIRECTORIST_ICON_PATH', ATBDP_DIR . 'assets/icons/' ); }
if ( ! defined( 'DIRECTORIST_ICON_URL' ) ) {
define( 'DIRECTORIST_ICON_URL', DIRECTORIST_ASSETS . 'icons/' ); }
// Vendor Assets Path
if ( ! defined( 'DIRECTORIST_VENDOR_CSS' ) ) {
define( 'DIRECTORIST_VENDOR_CSS', DIRECTORIST_ASSETS . 'vendor-css/' ); }
if ( ! defined( 'DIRECTORIST_VENDOR_JS' ) ) {
define( 'DIRECTORIST_VENDOR_JS', DIRECTORIST_ASSETS . 'vendor-js/' ); }
// Plugin Admin Assets Path
if ( ! defined( 'ATBDP_ADMIN_ASSETS' ) ) {
define( 'ATBDP_ADMIN_ASSETS', DIRECTORIST_ASSETS ); }
// Plugin Language File Path
if ( ! defined( 'ATBDP_LANG_DIR' ) ) {
define( 'ATBDP_LANG_DIR', dirname( plugin_basename( __FILE__ ) ) . '/languages' ); }
// Plugin Name
if ( ! defined( 'ATBDP_NAME' ) ) {
define( 'ATBDP_NAME', 'Directorist' ); }
// Plugin Post Type
if ( ! defined( 'ATBDP_POST_TYPE' ) ) {
define( 'ATBDP_POST_TYPE', 'at_biz_dir' ); }
if ( ! defined( 'ATBDP_ORDER_POST_TYPE' ) ) {
define( 'ATBDP_ORDER_POST_TYPE', 'atbdp_orders' ); }
if ( ! defined( 'ATBDP_CUSTOM_FIELD_POST_TYPE' ) ) {
define( 'ATBDP_CUSTOM_FIELD_POST_TYPE', 'atbdp_fields' ); }
// Plugin Category Taxonomy
if ( ! defined( 'ATBDP_CATEGORY' ) ) {
define( 'ATBDP_CATEGORY', ATBDP_POST_TYPE . '-category' ); }
// Plugin Location Taxonomy
if ( ! defined( 'ATBDP_LOCATION' ) ) {
define( 'ATBDP_LOCATION', ATBDP_POST_TYPE . '-location' ); }
// Plugin Tag Taxonomy
if ( ! defined( 'ATBDP_TAGS' ) ) {
define( 'ATBDP_TAGS', ATBDP_POST_TYPE . '-tags' ); }
// Plugin Type Taxonomy
if ( ! defined( 'ATBDP_DIRECTORY_TYPE' ) ) {
define( 'ATBDP_DIRECTORY_TYPE', 'atbdp_listing_types' ); }
if ( ! defined( 'ATBDP_TYPE' ) ) {
define( 'ATBDP_TYPE', ATBDP_DIRECTORY_TYPE ); }
// Plugin Alert Message
// if ( !defined('ATBDP_ALERT_MSG') ) { define('ATBDP_ALERT_MSG', __('You do not have the right to access this file directly', 'directorist')); }
// Plugin Veiw Path
if ( ! defined( 'ATBDP_VIEW_DIR' ) ) {
define( 'ATBDP_VIEW_DIR', ATBDP_DIR . 'includes/view/' ); }
define( 'DIRECTORIST_VENDOR', DIRECTORIST_ASSETS . 'vendor/' );