PHP Syntax Error Reporting For Non PHP Files?
As far as I can see PHP syntax error reporting only works on PHP files? How do we enable for other file types?
As far as I can see PHP syntax error reporting only works on PHP files? How do we enable for other file types?
Actually, after rethinking my workflow, if I were to add PHP to an HTML document, I would probably go to MMDocumentTypes.xml and add the highlighted lines.
<documenttype id="HTML" internaltype="HTML" winfileextension="html,htm,shtml,shtm,stm,tpl,lasso,xhtml" macfileextension="html,htm,shtml,shtm,tpl,lasso,xhtml,ssi" file="Default.html" writebyteordermark="false" mimetype="text/html">
<TITLE>
<MMString:loadString id="mmdocumenttypes_0" />
<MMString:loadString id="mmdocumenttypes_14" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_1" />
<MMString:loadString id="mmdocumenttypes_15" />
</description>
<dtdcontext>html</dtdcontext>
</documenttype>
My apologies, just tested the above and it does not work. ![]()
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.