constants.php
1.58 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
<?php
/**
* @copyright Copyright (c) 2009-2020 Ryan Demmer. All rights reserved
* @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* JCE is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses
*/
defined('_JEXEC') or die('RESTRICTED');
// Some shortcuts to make life easier
define('WF_VERSION', '2.8.5');
// JCE Administration Component
define('WF_ADMINISTRATOR', JPATH_ADMINISTRATOR.'/components/com_jce');
// JCE Site Component
define('WF_SITE', JPATH_SITE.'/components/com_jce');
// JCE Plugin
if (defined('JPATH_PLATFORM')) {
define('WF_PLUGIN', JPATH_SITE.'/plugins/editors/jce');
} else {
define('WF_PLUGIN', JPATH_SITE.'/plugins/editors');
}
// JCE Editor
define('WF_EDITOR', WF_SITE.'/editor');
// JCE Editor Plugins
define('WF_EDITOR_PLUGINS', WF_EDITOR.'/tiny_mce/plugins');
// JCE Editor Themes
define('WF_EDITOR_THEMES', WF_EDITOR.'/tiny_mce/themes');
// JCE Editor Libraries
define('WF_EDITOR_LIBRARIES', WF_EDITOR.'/libraries');
// JCE Editor Classes
define('WF_EDITOR_CLASSES', WF_EDITOR_LIBRARIES.'/classes');
// JCE Editor Extensions
define('WF_EDITOR_EXTENSIONS', WF_EDITOR.'/extensions');
define('WF_EDITOR_URI', JURI::root(true) . '/components/com_jce/editor');
define('WF_EDITOR_PRO', '0');
// required for some plugins
if (!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
}