Matthew Hawley
Well-known member
So I have this file:
And I get this error on the page /forums/index.php?MinifyCSS
Line 14 is
Code:
<?php
class MinifyCSS_ControllerPublic_Stuff extends XenForo_ControllerPublic_Abstract
{
public function actionIndex()
{
$contents= file_get_contents('/forums/CSSMinifier/gui/index.php');
$myContent = $contents;
$viewParams = array(
'myContent' => $myContent
);
return $this->responseView('MinifyCSS_ViewPublic_StuffRendered', 'css_minfier, $viewParams);
}
}
And I get this error on the page /forums/index.php?MinifyCSS
Code:
Parse error: syntax error, unexpected T_VARIABLE in /home3/mcwh/public_html/xxx/forums/library/MinifyCSS/ControllerPublic/Stuff.php on line 14
Line 14 is
Code:
return $this->responseView('MinifyCSS_ViewPublic_StuffRendered', 'css_minifier, $viewParams);