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:
Clemens Schwaighofer
2022-04-06 09:21:15 +09:00
parent aad2e9b11b
commit e5309b5dbc
6 changed files with 43 additions and 45 deletions

View File

@@ -145,9 +145,7 @@ print "BASE: " . BASE . "<br>";
print "ROOT: " . ROOT . "<br>";
print "HOST: " . HOST_NAME . " => DB HOST: " . DB_CONFIG_NAME . " => " . print_r(DB_CONFIG, true) . "<br>";
$ds = defined('DS') ? DS : DIRECTORY_SEPARATOR;
$du = DS ?? DIRECTORY_SEPARATOR;
print "DS is: " . $ds . "<br>";
print "DS is: " . DIRECTORY_SEPARATOR . "<br>";
print "SERVER HOST: " . $_SERVER['HTTP_HOST'] . "<br>";
// print error messages