Your IP : 216.73.216.170


Current Path : /var/www/iplanru/data/old/www/i-plan.ru/components/com_atomicongallery/
Upload File :
Current File : /var/www/iplanru/data/old/www/i-plan.ru/components/com_atomicongallery/atomicongallery.php

<?php
/**
 * @version $Id$
 * @package    AtomiconGallery
 * @subpackage _ECR_SUBPACKAGE_
 * @author     Atomicon {@link http://www.atomicon.nl}
 * @author     Created on 12-Jan-2010
 */

//-- No direct access
defined('_JEXEC') or die('Restricted');

require_once( JPATH_COMPONENT_ADMINISTRATOR.DS.'helpers'.DS.'atomicon.php' );

Atomicon::errors(true);
Atomicon::loadHelpers();

// Require the base controller
require_once( JPATH_COMPONENT.DS.'controller.php' );

// Require specific controller if requested
if( $controller = JRequest::getWord('controller'))
{
   $path = JPATH_COMPONENT.DS.'controllers'.DS.$controller.'.php';
   if( file_exists($path))
	{
       require_once $path;
   } else
   {
       $controller = '';
   }
}

// Create the controller
$classname    = 'AtomiconGalleryController'.$controller;
$controller   = new $classname( );

// Perform the Request task
$controller->execute( JRequest::getVar( 'task' ) );

// Redirect if set by the controller
$controller->redirect();