$smarty.server.* variables are case-sensitive

8/11/2006

This will not work:

{$smarty.server.script_name}

But this will:

{$smarty.server.SCRIPT_NAME}

Make sure you use upper case for the name of the server variable.

No Comments

Smarty: empty cache

8/03/2006
$smarty->clear_all_cache();
No Comments