mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 06:07:39 +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++;
|
$count++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (trim($sql) !== '') {
|
||||||
|
$this->driver->query($sql);
|
||||||
|
$count++;
|
||||||
|
}
|
||||||
fclose($handle);
|
fclose($handle);
|
||||||
return $count;
|
return $count;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user