Add RX_WINDOWS constant

This commit is contained in:
Kijin Sung 2020-02-14 16:07:34 +09:00
parent e064a742ea
commit 0c3c903c1b

View file

@ -117,6 +117,11 @@ else
define('RX_POST', false); define('RX_POST', false);
} }
/**
* RX_WINDOWS is true if the operating system is Windows.
*/
define('RX_WINDOWS', strncasecmp(PHP_OS, 'WIN', 3) === 0);
/** /**
* XE core compatibility constants (may be used by XE-compatible plugins and themes). * XE core compatibility constants (may be used by XE-compatible plugins and themes).
*/ */