mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-07 12:02:41 +00:00
More coding standard corrections.
This commit is contained in:
parent
1d1a2f859c
commit
7a287a6942
40 changed files with 61 additions and 60 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue