forked from victorjonsson/Arlima
-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.php
executable file
·46 lines (34 loc) · 1.73 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
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
// Paths
define('ARLIMA_PLUGIN_PATH', dirname(__FILE__));
define('ARLIMA_PLUGIN_URL', plugin_dir_url(__FILE__));
defined('ARLIMA_CLASS_PATH')
or define('ARLIMA_CLASS_PATH', ARLIMA_PLUGIN_PATH.'/classes');
// dev-mode will load the uncompressed js files and compile less file in the browser
defined('ARLIMA_DEV_MODE')
or define('ARLIMA_DEV_MODE', false);
// Make it possible to use pre-compiled less even though in dev-mode
defined('ARLIMA_COMPILE_LESS_IN_BROWSER')
or define('ARLIMA_COMPILE_LESS_IN_BROWSER', ARLIMA_DEV_MODE);
// Plugin version (only edit this via grunt!)
define('ARLIMA_PLUGIN_VERSION', '3.1.beta.27');
define('ARLIMA_FILE_VERSION', ARLIMA_PLUGIN_VERSION .(ARLIMA_DEV_MODE ? '__'.time():''));
// Which type of tag to use for images in Arlima RSS feeds
defined('ARLIMA_RSS_IMG_TAG')
or define('ARLIMA_RSS_IMG_TAG', 'enclosure');
// Whether or not you should be able to set templates on section dividers
defined('ARLIMA_SUPPORT_SECTION_DIV_TEMPLATES')
or define('ARLIMA_SUPPORT_SECTION_DIV_TEMPLATES', false);
// Whether or not the list manager in wp-admin should send js errors to the
// server log via ajax
defined('ARLIMA_SEND_JS_ERROR_TO_LOG')
or define('ARLIMA_SEND_JS_ERROR_TO_LOG', false);
// This is the time limit in seconds between automatic reloading of the lists in the list manager
defined('ARLIMA_LIST_RELOAD_TIME')
or define('ARLIMA_LIST_RELOAD_TIME', 180); // Seconds
// We have battled the problems with timestamps many times before. Use this
// variable to adjust the unix timestamp
defined('ARLIMA_TIME_ADJUST')
or define('ARLIMA_TIME_ADJUST', 0); // -3600 to put timestamp back one hour
// The facade class in front of underlying system
define('ARLIMA_CMS_FACADE', 'Arlima_WP_Facade');