Skip to content

Commit 28bdb19

Browse files
authored
Merge pull request #4 from nguyenanhung/v3.1.14-develop
V3.1.14 develop
2 parents 9db36e5 + c6b73d3 commit 28bdb19

File tree

6 files changed

+492
-322
lines changed

6 files changed

+492
-322
lines changed

system/core/Common.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,19 @@ function is_php($version)
7676

7777
// ------------------------------------------------------------------------
7878

79+
if ( ! function_exists('is_windows'))
80+
{
81+
/**
82+
* Check if we're running on a Windows platform
83+
*/
84+
function is_windows()
85+
{
86+
return DIRECTORY_SEPARATOR === '\\';
87+
}
88+
}
89+
90+
// ------------------------------------------------------------------------
91+
7992
if ( ! function_exists('is_really_writable'))
8093
{
8194
/**

0 commit comments

Comments
 (0)