<?php
/**
 * @package	HikaShop for Joomla!
 * @version	4.7.4
 * @author	hikashop.com
 * @copyright	(C) 2010-2023 HIKARI SOFTWARE. All rights reserved.
 * @license	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?><?php
class ViewController extends hikashopController{
	var $type='view';

	function __construct($config = array()) {
		parent::__construct($config);
		$this->display = array_merge($this->display, array('diff'));
	}

	public function diff() {
		hikaInput::get()->set('layout', 'diff');
		return parent::display();
	}
}
