templatepower

SSI included in PHP as template not working

断了今生、忘了曾经 提交于 2019-12-13 02:58:59
问题 I am using Ganglia-web-frontend which is written in PHP. It uses template files to add personal headers/footers. I want to use an SSI set of pages that I have written, but the SSI code is not interpreted by apache. more clearly, ganglia uses $tpl = new TemplatePower( template("$header.tpl") ); to include my header template file. In my header.tpl file I put : <!--#include virtual="/include/header.shtml" --> which is my included file (and which works perfectly with my personal pages/scripts).