Remove ancient compatibility stuff.

This commit is contained in:
Markus Birth 2022-02-20 01:10:03 +01:00
parent 7156dec439
commit 16e4bc7f2a
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A

View File

@ -8,22 +8,6 @@ if (IN_serendipity !== true) {
#$serendipity = array();
if (!defined('PATH_SEPARATOR')) {
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
define('PATH_SEPARATOR', ';');
} else {
define('PATH_SEPARATOR', ':');
}
}
if (!defined('DIRECTORY_SEPARATOR')) {
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
define('DIRECTORY_SEPARATOR', '\\');
} else {
define('DIRECTORY_SEPARATOR', '/');
}
}
/**
* Create a snapshot of the current memory usage
*