Recent Topics

b2evo and directory_separator

Started by on Apr 15, 2008 – Contents updated: Apr 15, 2008

Apr 15, 2008 23:24    

Hi,

is there a reason b2evo does not use the constant DIRECTORY_SEPARATOR to refer to the separator character?

There is a difference between windows and linux systems: '\' vs. '/'

Is this translation already handled by the PHP functions?
I would have expected that every place constructiong a path to the filesystem would use the constant to do so...

Stephan

Apr 16, 2008 19:28

PHP on windows will work fine with / everywhere and even with combinations of / and \ . So why make the code more complex than it needs to be ? :)


Form is loading...

b2evolution CMS – This forum is powered by b2evolution CMS, a complete engine for your website.