I believe defining these again (they are already defined in app/Mage.php) will cause PHP warnings (or errors?) to be triggered. I suggest changing to:

```php
if ( ! defined('DS')) define('DS', DIRECTORY_SEPARATOR);
if ( ! defined('PS')) define('PS', PATH_SEPARATOR);
```