diff --git a/public/templates/mmcFE/master.tpl b/public/templates/mmcFE/master.tpl index 68777d1a..c300eee4 100644 --- a/public/templates/mmcFE/master.tpl +++ b/public/templates/mmcFE/master.tpl @@ -59,7 +59,7 @@
{/section} {/if} - {include file="$PAGE/$ACTION/$CONTENT"} + {if file_exists($smarty.current_dir|cat:"/$PAGE/$ACTION/$CONTENT")}{include file="$PAGE/$ACTION/$CONTENT"}{else}Missing template for this page{/if} {/if}