More coding standard corrections.

This commit is contained in:
euromark 2014-04-29 14:19:33 +02:00
parent 1d1a2f859c
commit 7a287a6942
40 changed files with 61 additions and 60 deletions

View file

@ -92,7 +92,7 @@ class ServerShell extends AppShell {
}
// for windows
if (substr($this->_documentRoot, -1, 1) == DIRECTORY_SEPARATOR) {
if (substr($this->_documentRoot, -1, 1) === DIRECTORY_SEPARATOR) {
$this->_documentRoot = substr($this->_documentRoot, 0, strlen($this->_documentRoot) - 1);
}
if (preg_match("/^([a-z]:)[\\\]+(.+)$/i", $this->_documentRoot, $m)) {