What about PHP constants?
| From: | 24hdev at chaoscontent dot com | Date: | Tue, 11 Jun 2002 15:20:09 +0000 |
| Subject: | What about PHP constants? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4779@lists.php.net to get a copy of this message | ||
Is there a way to easily output a previously defined PHP constant?
Something like
{%__file__} or {%my_own_constant} would be nice, just like
{$variables},
but without assigning them.
Yours
Sam