first commit
This commit is contained in:
30
override/controllers/front/CmsController.php
Normal file
30
override/controllers/front/CmsController.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2015 Leotheme
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* Adds image, text or video to your homepage.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* @author leotheme <leotheme@gmail.com>
|
||||
* @copyright 2007-2015 Leotheme
|
||||
* @license http://leotheme.com - prestashop template provider
|
||||
*/
|
||||
class CmsController extends CmsControllerCore
|
||||
{
|
||||
/*
|
||||
* module: leoslideshow
|
||||
* date: 2022-12-07 21:35:09
|
||||
* version: 1.0.6
|
||||
*/
|
||||
public function display()
|
||||
{
|
||||
if ((bool) Module::isEnabled('leoslideshow')) {
|
||||
$leoslideshow = Module::getInstanceByName('leoslideshow');
|
||||
$leoslideshow->processCMS();
|
||||
}
|
||||
return parent::display();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user