Файл: upload/module/core/include/component/controller/redirect.class.php
Строк: 34
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
*
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Phpfox_Component
* @version $Id: redirect.class.php 1388 2010-01-11 20:17:18Z Raymond_Benc $
*/
class Core_Component_Controller_Redirect extends Phpfox_Component
{
/**
* Class process method wnich is used to execute this component.
*/
public function process()
{
$this->template()->assign(array(
'sRedirectLink' => Phpfox::getLib('url')->decode($this->request()->get('url'))
)
);
}
/**
* Garbage collector. Is executed after this class has completed
* its job and the template has also been displayed.
*/
public function clean()
{
(($sPlugin = Phpfox_Plugin::get('core.component_controller_redirect_clean')) ? eval($sPlugin) : false);
}
}
?>