Smarty 3 and {php} (General)
Hi,
Is it possible for you to help me. I have just updated and have a problem.
In my main.tbl file I had an include:
{php}
include( $_SERVER['DOCUMENT_ROOT'].'/public/includes/navbar.inc');
{/php}
According to the documentation, it seems to be correct. Do you really need the global array $_SERVER
to include a file?
regards
Micha
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences