We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45fc39c commit c45ef00Copy full SHA for c45ef00
system/core/Common.php
@@ -76,6 +76,19 @@ function is_php($version)
76
77
// ------------------------------------------------------------------------
78
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
92
if ( ! function_exists('is_really_writable'))
93
{
94
/**
0 commit comments