You've already forked joomla_test
first commit
This commit is contained in:
30
includes/defines.php
Normal file
30
includes/defines.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
/**
|
||||
* Joomla! Application define.
|
||||
*/
|
||||
|
||||
//Global definitions.
|
||||
//Joomla framework path definitions.
|
||||
$parts = explode(DIRECTORY_SEPARATOR, JPATH_BASE);
|
||||
|
||||
//Defines.
|
||||
define('JPATH_ROOT', implode(DIRECTORY_SEPARATOR, $parts));
|
||||
|
||||
define('JPATH_SITE', JPATH_ROOT);
|
||||
define('JPATH_CONFIGURATION', JPATH_ROOT);
|
||||
define('JPATH_ADMINISTRATOR', JPATH_ROOT . '/administrator');
|
||||
define('JPATH_LIBRARIES', JPATH_ROOT . '/libraries');
|
||||
define('JPATH_PLUGINS', JPATH_ROOT . '/plugins');
|
||||
define('JPATH_INSTALLATION', JPATH_ROOT . '/installation');
|
||||
define('JPATH_THEMES', JPATH_BASE . '/templates');
|
||||
define('JPATH_CACHE', JPATH_BASE . '/cache');
|
||||
define('JPATH_MANIFESTS', JPATH_ADMINISTRATOR . '/manifests');
|
Reference in New Issue
Block a user