templates/index.tpl:

- replace {php} usage (which is no longer allowed since switching
  from SmartyBC to Smarty) with $smarty.server

fixes https://sourceforge.net/p/postfixadmin/bugs/303/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1552 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 12 years ago
parent 949d58e5c4
commit 2dc71b6c9f

@ -23,7 +23,7 @@
{if $smarty_template}
{include file="$smarty_template.tpl"}
{else}
<h3>Template not found</h3>({php}print $_SERVER ['PHP_SELF'];{/php})
<h3>Template not found</h3>({$smarty.server.PHP_SELF|escape:"html"})
{/if}
{include file='footer.tpl'}
{/strip}

Loading…
Cancel
Save