Matthew Hawley
Well-known member
This is the html I put in the page
This is my PHP file in /library/XenForo/Pages/CSSMinifier.php
All I'm getting is a blank page. Any suggestions?
Code:
<div class="baseHtml messageText">
{xen:raw $cssMinify}
</div>
This is my PHP file in /library/XenForo/Pages/CSSMinifier.php
Code:
<?php
class XenForo_Pages_CSSMinifier
{
public static function includeFile(XenForo_ControllerPublic_Abstract $controller, XenForo_ControllerResponse_Abstract &$response)
{
ob_start();
require('/forums/CSSMinifier/gui/index.php');
$myContent = ob_get_contents();
ob_end_clean();
$params = array(
'myContent' => $cssMinify
);
$response->params = array_merge(
$response->params,
$params
);
}
}
All I'm getting is a blank page. Any suggestions?
Last edited: