I have thought about 2 new constants:
- Code: Select all
define('CMSIMPLE_ROOT', str_replace('/'.$sl.'/', "/", $sn)); //for absolute references
define('CMSIMPLE_BASE', (strtolower($cf['language']['default'])==$sl?'./':'./../')); //for relative references
Normally they should be defined in the cms.php, but if some Plugins or addons use them, they are not available without CMSimple_XH.
Should we define the constants in the index.php of the Pluginloader? So they would be available, if an user of CMSimple 3.2 updates his PL.

