Syntax question

From: Date: Wed, 21 Aug 2002 09:28:58 +0000
Subject: Syntax question
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5777@lists.php.net to get a copy of this message
I have a syntax question: path defined in php-file: $this->assign('PATH2SCRS',PATH2SITECONFIG.'../htdocs/scripts/'); in template: {popup_init src="$PATH2SCRSoverlib_mini.js"} Does not work. If I delete trailing slash of dir i.e. $this->assign ('PATH2SCRS',PATH2SITECONFIG.'../htdocs/scripts'); and put it back in template i.e. {popup_init src="$PATH2SCRS/overlib_mini.js"} It works. But for esthetic reasons I would like to keep the trailing slash in dir-path. Is this possible? Tom

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