mirror of
https://github.com/processwire/processwire.git
synced 2025-08-16 03:34:33 +02:00
A couple of minor adjustments
This commit is contained in:
@@ -1007,6 +1007,10 @@ class WireDatabaseBackup {
|
||||
protected function restorePDO($filename, array $options = array()) {
|
||||
|
||||
$fp = fopen($filename, "rb");
|
||||
if($fp === false) {
|
||||
$this->error("Unable to open: $filename");
|
||||
return false;
|
||||
}
|
||||
$numInserts = 0;
|
||||
$numTables = 0;
|
||||
$numQueries = 0;
|
||||
|
Reference in New Issue
Block a user