include_php path

From: Date: Fri, 28 Dec 2001 14:49:11 +0000
Subject: include_php path
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2404@lists.php.net to get a copy of this message
I'm using an absolute path in 'include_php' and I'd like to use a constant or variable to make it easier when uploading to live server with different path. The file is not in the web server document root but in a sub-directory beside the document root. Is it possible to do something like: {include_php file="$path_var/include_file"} Where $path_var is a global setting. Any help would be appreciated. ======================= Ron Dyck WebbTech www.WebbTech.net rhd@webbtech.net

« previous php.smarty.general (#2404) next »