Re: include_php path

From: Date: Fri, 28 Dec 2001 16:24:59 +0000
Subject: Re: include_php path
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2409@lists.php.net to get a copy of this message
> It should look something like this: > > {include_php file="$IncludePath/foo.php"} OK, I must be missing something, I set this: $this->assign("IncludePath", "/home/admin/sites/ecommatrix/nigeria/modules/navigation"); and call it like so: {include_php file="$IncludePath/page_top"} to get this error: Warning: Failed opening '/$IncludePath/page_top' for inclusion The variable is set properly as it echos correctly as: {$IncludePath} in the .tpl ron :~(

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