-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefines.php
32 lines (27 loc) · 1013 Bytes
/
defines.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
<?php
/**
* @version $Id: defines.php 20196 2011-01-09 02:40:25Z ian $
* @package Joomla.Site
* @subpackage Application
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
/**
* Joomla! Application define.
*/
//Global definitions.
//Joomla framework path definitions.
$parts = explode(DS, JPATH_BASE);
//Defines.
define('JPATH_ROOT', implode(DS, $parts));
define('JPATH_SITE', JPATH_ROOT);
define('JPATH_CONFIGURATION', DIR_SERVER_ROOT);
define('JPATH_ADMINISTRATOR', JPATH_ROOT.DS.'administrator');
define('JPATH_LIBRARIES', JPATH_ROOT.DS.'libraries');
define('JPATH_PLUGINS', JPATH_ROOT.DS.'plugins' );
define('JPATH_INSTALLATION', JPATH_ROOT.DS.'installation');
define('JPATH_THEMES', JPATH_BASE.DS.'templates');
define('JPATH_CACHE', JPATH_BASE.DS.'cache');
define('JPATH_MANIFESTS', JPATH_ADMINISTRATOR.DS.'manifests');