- Implemented the X13Webp class with core functionalities for converting images to WebP format. - Added support for different PHP versions and defined constants for versioning. - Included translation strings for various user interface elements and messages. - Created XML file for module versioning.
18 lines
339 B
PHP
18 lines
339 B
PHP
<?php
|
|
|
|
class FrontController extends FrontControllerCore
|
|
{
|
|
|
|
public function smartyOutputContent($content)
|
|
{
|
|
ob_start();
|
|
parent::smartyOutputContent($content);
|
|
$html = ob_get_contents();
|
|
ob_clean();
|
|
Hook::exec('actionOutputHTMLBefore', array('html' => &$html));
|
|
echo $html;
|
|
}
|
|
|
|
}
|
|
|