Stop using DS for DIRECTORY_SEPARATOR replacement
There is no need for a short entry, use the long one. The DS is still defined for backwards compatible use
This commit is contained in:
@@ -46,8 +46,8 @@ for ($dir_pos = 0, $dir_max = count(explode(DIRECTORY_SEPARATOR, __DIR__)); $dir
|
||||
break;
|
||||
}
|
||||
}
|
||||
// fail if no base DS is not set
|
||||
if (!defined('DS')) {
|
||||
// fail if no base DIR is not set
|
||||
if (!defined('DIR')) {
|
||||
exit('Base config unloadable');
|
||||
}
|
||||
// find trigger name "admin/" or "frontend/" in the getcwd() folder
|
||||
|
||||
Reference in New Issue
Block a user