mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Define RX_WINDOWS based on PHP_OS_FAMILY
This commit is contained in:
parent
b3a311488b
commit
7ffb1c50fc
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ else
|
|||
/**
|
||||
* RX_WINDOWS is true if the operating system is Windows.
|
||||
*/
|
||||
define('RX_WINDOWS', strncasecmp(PHP_OS, 'WIN', 3) === 0);
|
||||
define('RX_WINDOWS', PHP_OS_FAMILY === 'Windows');
|
||||
|
||||
/**
|
||||
* XE core compatibility constants (may be used by XE-compatible plugins and themes).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue