Magento Forum

   
What is DS? 
 
Sousa
Guru
 
Avatar
Total Posts:  348
Joined:  2007-09-02
Porto, Portugal
 

Hello,

In several parts of code i found DS.

('media') . DS 'import'

What is DS?

Regards

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sousa
Guru
 
Avatar
Total Posts:  348
Joined:  2007-09-02
Porto, Portugal
 

Sorry this one.

Was a silly question.

DS is a variable to /

 
Magento Community Magento Community
Magento Community
Magento Community
 
mike222
Member
 
Total Posts:  41
Joined:  2008-04-07
Austria
 

DirectorySeparator ‘/’

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sousa
Guru
 
Avatar
Total Posts:  348
Joined:  2007-09-02
Porto, Portugal
 

I see after i post, but just for curiosity. where is defined?

 
Magento Community Magento Community
Magento Community
Magento Community
 
LeeSaferite
Guru
 
Avatar
Total Posts:  322
Joined:  2007-08-31
Lake City, FL
 

/app/Mage.php : Line 27 (in my version)

define('DS'DIRECTORY_SEPARATOR);
define('PS'PATH_SEPARATOR);
define('BP'dirname(dirname(__FILE__)));

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top