RE: [SMARTY] Re: new user install problem
| From: | Hoffman, Geoffrey | Date: | Thu, 06 Feb 2003 17:08:33 +0000 |
| Subject: | RE: [SMARTY] Re: new user install problem | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7556@lists.php.net to get a copy of this message | ||
Due to this, in my last project, I found it very helpful to include a file
at the top of index.php that stores global variables containing all of the
platform specific strings, such as the include path, images folder for
uploading, etc. This file (actually two versions, one for your local and one
for remote) becomes the only thing different on your (likely Windows) dev
box and your (likely unix) host. Otherwise you have to sift through code
finding and replacing which can get extremely cumbersome and error prone.
> Or set the include_path correctly in php.ini or httpd.conf or
> .htaccess .
> unfortunately this is not an option on most shared web-hosts.