| [ Index ] |
PHP Cross Reference of Joomla 2.5.4 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @package Joomla.Libraries 4 * 5 * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. 6 * @license GNU General Public License version 2 or later; see LICENSE 7 */ 8 9 defined('_JEXEC') or die; 10 11 // Set the platform root path as a constant if necessary. 12 if (!defined('JPATH_PLATFORM')) { 13 define('JPATH_PLATFORM', dirname(__FILE__)); 14 } 15 16 // Import the cms loader if necessary. 17 if (!class_exists('JCmsLoader')) { 18 require_once JPATH_PLATFORM.'/cms/cmsloader.php'; 19 } 20 21 // Setup the autoloader. 22 JCmsLoader::setup(); 23 24 // Define the Joomla version if not already defined. 25 if (!defined('JVERSION')) { 26 $jversion = new JVersion; 27 define('JVERSION', $jversion->getShortVersion()); 28 } 29 // Register the location of renamed classes so they can be autoloaded 30 // The old name are considered deprecated and this should be removed in 3.0 31 JLoader::register('JRule', JPATH_PLATFORM . '/joomla/access/rule.php'); 32 JLoader::register('JRules', JPATH_PLATFORM . '/joomla/access/rules.php');
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Tue Apr 3 11:40:28 2012 | Cross-referenced by PHPXref 0.7.1 |