From 5f66ff6199398322e3f9eda75f13cf0a7b4fc421 Mon Sep 17 00:00:00 2001 From: Steve Kamerman Date: Sat, 18 May 2013 23:46:26 -0400 Subject: [PATCH] Fixed file path problem --- PHPCI/Plugin/Mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Plugin/Mysql.php b/PHPCI/Plugin/Mysql.php index 1d261300..e67c31a4 100644 --- a/PHPCI/Plugin/Mysql.php +++ b/PHPCI/Plugin/Mysql.php @@ -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"); }