Merge "Use capital as first letter for class names"
[lhc/web/wiklou.git] / includes / utils / Cdb.php
index 71fa8c8..0995aed 100644 (file)
@@ -145,6 +145,13 @@ abstract class CdbWriter {
                        $this->close();
                }
        }
+
+       /**
+        * Are we running on Windows?
+        */
+       protected function isWindows() {
+               return substr( php_uname(), 0, 7 ) == 'Windows';
+       }
 }
 
 /**