dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Use capital as first letter for class names"
[lhc/web/wiklou.git]
/
includes
/
utils
/
Cdb.php
diff --git
a/includes/utils/Cdb.php
b/includes/utils/Cdb.php
index
71fa8c8
..
0995aed
100644
(file)
--- a/
includes/utils/Cdb.php
+++ b/
includes/utils/Cdb.php
@@
-145,6
+145,13
@@
abstract class CdbWriter {
$this->close();
}
}
+
+ /**
+ * Are we running on Windows?
+ */
+ protected function isWindows() {
+ return substr( php_uname(), 0, 7 ) == 'Windows';
+ }
}
/**