Fixed file path problem
This commit is contained in:
parent
c03d5f3af3
commit
5f66ff6199
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class Mysql implements \PHPCI\Plugin
|
|||
throw new \Exception("Import statement must contiain an 'file' key");
|
||||
}
|
||||
|
||||
$import_file = $this->phpci->buildPath . '/' . $query['file'];
|
||||
$import_file = $this->phpci->buildPath . $query['file'];
|
||||
if (!is_readable($import_file)) {
|
||||
throw new \Exception("Cannot open SQL import file: $import_file");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue