Display this
{else}Display that
{/if} Debug ----- You can turn on debug mode with ``$debug``: .. code-block:: php $debug = true; .. tip:: Debug messages will be printed in server logs. This is also possible to enable Smarty debug, for web interface issues: .. code-block:: php $smarty_debug = true; .. tip:: Debug messages will appear on web interface. You will also have many more messages in error logs. Smarty ------ You need to define where Smarty is installed: .. code-block:: php define("SMARTY", "/usr/share/php/smarty3/Smarty.class.php"); Notify administrator by mail ---------------------------- It is possible to provide mail of administrator to service-desk using a HTTP header. $header_name_notify_admin_by_mail is name of header that will be provided to cgi script as HTTP_$header_name_notify_admin_by_mail to set administrator mail from webserver. .. code-block:: php $header_name_notify_admin_by_mail = "SSP-Admin-Mail"; Using Apache, we may set such header using the following: .. code-block::