Created
April 29, 2011 23:01
-
-
Save AmyStephen/949188 to your computer and use it in GitHub Desktop.
Administrator Entry Point: Site Router: Molajo (Top) comparison to Joomla! 1.6 (Bottom)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @version things.php | |
* @package Molajo | |
* @subpackage Entry point | |
* @copyright Copyright (C) 2011 Individual Molajo Contributors. All rights reserved. | |
* @license GNU General Public License Version 2, or later http://www.gnu.org/licenses/gpl.html | |
*/ | |
defined('MOLAJO') or die; | |
$current_folder = basename(dirname(__FILE__)); | |
require_once MOLAJO_COMPONENT.'/component/index.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @version $Id: content.php 20196 2011-01-09 02:40:25Z ian $ | |
* @package Joomla.Administrator | |
* @subpackage com_content | |
* @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; | |
// Access check. | |
if (!JFactory::getUser()->authorise('core.manage', 'com_content')) { | |
return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR')); | |
} | |
// Include dependencies | |
jimport('joomla.application.component.controller'); | |
$controller = JController::getInstance('Content'); | |
$controller->execute(JRequest::getCmd('task')); | |
$controller->redirect(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment