-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
81 lines (58 loc) · 1.5 KB
/
config.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
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
<?php
if (!defined('ABSPATH')) {
exit('No direct script access allowed');
}
/**
* Using
*/
require REBOOT_CORE_PATH . 'functions/reboot_include_by_theme.php';
require REBOOT_CORE_PATH . 'functions/reboot_key.php';
/**
* Theme based config
*/
$status = reboot_include_by_theme('config');
/**
* Agency
*/
if (!defined('REBOOT_AGENCY')) {
define('REBOOT_AGENCY', 'Reboot');
}
if (!defined('REBOOT_AGENCY_URL')) {
define('REBOOT_AGENCY_URL', 'https://reboot.com.tr');
}
if (!defined('REBOOT_AGENCY_SLUG')) {
define('REBOOT_AGENCY_SLUG', reboot_key(REBOOT_AGENCY));
}
if (!defined('REBOOT_AGENCY_MENU_ICON')) {
define('REBOOT_AGENCY_MENU_ICON', sprintf('dashicons-reboot-%s', REBOOT_AGENCY_SLUG));
}
if (!defined('REBOOT_AGENCY_EMAIL')) {
define('REBOOT_AGENCY_EMAIL', 'info@reboot.com.tr');
}
if (!defined('REBOOT_AGENCY_EMAIL_AS_CC')) {
define('REBOOT_AGENCY_EMAIL_AS_CC', false);
}
if (!defined('REBOOT_AGENCY_EMAIL_AS_BCC')) {
define('REBOOT_AGENCY_EMAIL_AS_BCC', false);
}
/**
* Client
*/
if (!defined('REBOOT_CLIENT')) {
define('REBOOT_CLIENT', REBOOT_AGENCY);
}
if (!defined('REBOOT_CLIENT_URL')) {
define('REBOOT_CLIENT_URL', REBOOT_AGENCY_URL);
}
if (!defined('REBOOT_CLIENT_SLUG')) {
define('REBOOT_CLIENT_SLUG', sanitize_title(REBOOT_CLIENT));
}
if (!defined('REBOOT_CLIENT_ICON')) {
define('REBOOT_CLIENT_ICON', REBOOT_CLIENT_SLUG);
}
/**
* Child Theme
*/
if (!defined('REBOOT_CHILD_TEXT_DOMAIN')) {
define('REBOOT_CHILD_TEXT_DOMAIN', 'the7mk2');
}