DS Directory Separator in Joomla 3.
After installing Joomla 3 Beta and installing a Joomla 2.5 component I have found a few things that has changed between J Versions 1.5-2.5 and 3. Specifically, I have found that the popular Directory separator is missing.
As a Joomla Extension developer, I am accustom to creating DIRECTORY_SEPARATOR using the constant DS to represent “/” .
At the moment, I don’t know if it it will be included in the J3 upgrades or ifI am simply missing them at the moment, but you can solve your dilemma with the following methods.
1. Create your own constant
Assuming you have an extension and you would like to skip finding and replacing your DS with slashes, then you can create a constant in your extension root file.