mirror of
https://github.com/dg/dibi.git
synced 2025-08-05 13:47:33 +02:00
DibiConnection: fixed loadFromFile() and loading file without semicolon [Closes #63]
This commit is contained in:
@@ -688,6 +688,10 @@ class DibiConnection extends DibiObject
|
||||
$count++;
|
||||
}
|
||||
}
|
||||
if (trim($sql) !== '') {
|
||||
$this->driver->query($sql);
|
||||
$count++;
|
||||
}
|
||||
fclose($handle);
|
||||
return $count;
|
||||
}
|
||||
|
Reference in New Issue
Block a user