Current Directory: /home/astoriaah/www/old15/administrator/components/com_admintools/views/nginxmaker
Viewing File: /home/astoriaah/www/old15/administrator/components/com_admintools/views/nginxmaker/view.raw.php
<?php
/**
* @package AdminTools
* @copyright Copyright (c)2010-2015 Nicholas K. Dionysopoulos
* @license GNU General Public License version 3, or later
* @version $Id$
*/
// Protect from unauthorized access
defined('_JEXEC') or die;
// Load framework base classes
JLoader::import('joomla.application.component.view');
if (!class_exists('JoomlaCompatView'))
{
if (interface_exists('JView'))
{
abstract class JoomlaCompatView extends JViewLegacy
{
}
}
else
{
class JoomlaCompatView extends JView
{
}
}
}
class AdmintoolsViewNginxmaker extends JoomlaCompatView
{
public function display($tpl = null)
{
$model = $this->getModel();
$nginxconf = $model->makeHtaccess();
$this->nginxconf = $nginxconf;
$this->setLayout('plain');
parent::display();
}
}