Re: Smarty wihout PEAR?
| From: | Andrei Zmievski | Date: | Mon, 26 Mar 2001 14:11:41 +0000 |
| Subject: | Re: Smarty wihout PEAR? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-436@lists.php.net to get a copy of this message | ||
On Mon, 26 Mar 2001, Ivo Jansch wrote:
> Another thing that in my opinion would be nicer, is if Smarty could be
> used by placing it in a subdirectory instead of in the include path.
You can. If you place Smarty in a subdir called 'smarty', for example,
and then do this in your application before calling "require
'Smarty.class.php'":
ini_set('include_path', 'smarty:' . ini_get('include_path'));
It should work.
-Andrei
* Only 19,999 lines of C++ to my next ski trip... *