Re: [SMARTY] DirSepation bug

From: Date: Sun, 21 Apr 2002 20:29:23 +0000
Subject: Re: [SMARTY] DirSepation bug
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3831@lists.php.net to get a copy of this message
I'm not sure, but it should work if you just put the drive letter first in your URL's like this: define('SMARTY_DIR', 'g:/inetpub/wwwroot/smarty/'); require_once(SMARTY_DIR . 'Smarty.class.php'); $smarty = new Smarty; $smarty->compile_dir = SMARTY_DIR . 'templates_c'; $smarty->cache_dir = SMARTY_DIR . 'cache'; or whatever path you're using, try put the drive letter in front. Andreas -----Ursprungligt meddelande----- Från: Daniil Kaltchenko [mailto:dak15@zmail.ru] Skickat: den 21 april 2002 14:19 Till: smarty-general@lists.php.net Ämne: [SMARTY] DirSepation bug Hi! Friday, April 19, 2002, 6:15:47 PM, you wrote: AZ> On Fri, 19 Apr 2002, Gabor Hojtsy wrote: >> IIS Does not like C:\Inetpub\.../_smarty/templates_c/117/1172603085 >> But it's fine with C:\Inetpub\...\_smarty\templates_c\117\1172603085 >> So the guy would like to ask for a $_separator property for >> Smarty to specify which slash to use for path values... AZ> This has been fixed for the next release. Andrei, please fix this bug! I use smarty in Windows Xp with PHP 4.1.2 and Apache 1.3.20(win 32) and want upgrade my version of smarty to version 2.0.1, but this annoying bug does it impossible and impede my development. I get the last version from CVS, but it's while not fixed. Smarty compile templates, but can not show: --- Error: [2] Failed opening '/home/.../smarty/templates_c\301\301668621\0.php' for inclusion (include_path='.;home/.../bin') The error occurred in line 637 of file "g:\home\...\smarty\bin\Smarty.class.php" --- Daniil -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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