EllisLab/CodeIgniter — Issue #888: DIRECTORY_SEPARATOR vs '/'
Author: narfbg
Created: 2012-01-07 19:24:34+00:00
State: open

This discussion was started in pull #885, as I had replaced `/` with `DIRECTORY_SEPARATOR` in the first commit.

I'll just quote our comments:

@ericbarnes:

>If I am not mistaken I remember reading somewhere that the slash is recommended over directory separator and it will still work across different servers.

@narfbg:

>I've been given recommendations in previous pull requests to use `DIRECTORY_SEPARATOR`. `/` might be recommended over `\` in general, because it does indeed work on all platforms, but I'm not sure if that isn't only for hard-coded use. Can somebody give some more input?

I'll take care of replacing those altogether if it's decided that it's the proper solution.