Re: [SMARTY-DEV] Re: more abstraction committed - Bug

From: Date: Sat, 10 May 2003 12:49:51 +0000
Subject: Re: [SMARTY-DEV] Re: more abstraction committed - Bug
References: 1 2 3 4  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1441@lists.php.net to get a copy of this message
On Sat, May 10, 2003 at 01:08:05PM +0200, Thomas Schulz wrote: > messju mohr wrote: > > >can you tell me which settings make core.create_dir_structure break > > Sorry, I forgot to post an example... > > Value of $params['dir']: > 'd:/docroots/project/www/../temp/cache\ba\json_1\jsdet_0\de_1\%%100\%%1009042166' > > An extra define('DIR_SEP', '/'); don't change this normally uncritical > > mix of forward- and back-slashes. > > Value of $_new_dir: > '\d:/docroots/project/www/../temp/cache' i see, the '\' at the beginning is the problem. i just committed a fix, tested on windows and linux with relative and absolute paths. please test if it works for you now. i didn't want to revert to the old behaviour, since that was broken when using open_basedir and relative paths. greetings messju > >do you use open_basedir? do you use relative or absolute paths? > >do you use forward-slashes or backslashes in the paths you configure? > > No open_basedir, absolute paths and forward-slashes. > > HTH, Thomas.

« previous php.smarty.dev (#1441) next »