Re: [SMARTY-DEV] DIR_SEP handling

From: Date: Mon, 05 May 2003 14:42:19 +0000
Subject: Re: [SMARTY-DEV] DIR_SEP handling
References: 1 2 3  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1344@lists.php.net to get a copy of this message
DIRECTORY_SEPARATOR is now used exclusively. This was introduced to PHP in 4.0.6, so I think we're safe there. DIR_SEP was kept for backward compatability, only being defined if not already defined. Monte On Sun, 2003-05-04 at 09:56, messju mohr wrote: > On Sun, May 04, 2003 at 06:48:57AM -0700, boots wrote: > > --- messju mohr <messju@lammfellpuschen.de> wrote: > > > i'd vote for the last one too. let's mark 'DIR_SEP' as deprecated > > > and > > > use DIRECTORY_SEPARATOR everywhere. > > > > > > $ fgrep -r DIR_SEP smarty/libs | wc -l > > > 21 > > > > > > hmm, this should be doable in a finite amount of time :-) > > > > Cool! > > > i'd like to hear other opinions on this. maybe i overlooked something > obvious. i know we'll have to support DIR_SEP for quite some time > still: there may be numerous 3rd party plugins/applications that rely > on DIR_SEP being avail. > > > > Also, Config_File.class.php uses its own _seperator with a hardcoded > > assignment -- see lines 84-93. > > > > xo boots > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo. > > http://search.yahoo.com -- Monte Ohrt <monte@ispi.net>

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