PHP handles paths converting itself. The DIRECTORY_SEPERATOR is only needed when it comes to comparison.