修正Mysql builder驱动

This commit is contained in:
thinkphp
2016-07-06 11:56:10 +08:00
parent 8dcb724ec3
commit 0622729b72
2 changed files with 3 additions and 3 deletions

View File

@@ -36,8 +36,8 @@ class Lite
if (!empty($options)) {
$this->options = array_merge($this->options, $options);
}
if (substr($this->options['path'], -1) != '/') {
$this->options['path'] .= '/';
if (substr($this->options['path'], -1) != DS) {
$this->options['path'] .= DS;
}
}