* Fixed an error handler
This commit is contained in:
parent
cb38762215
commit
defe60efb9
7
lib.php
7
lib.php
|
@ -232,15 +232,16 @@ class kpcrypt {
|
|||
|
||||
// Close the input file
|
||||
fclose($fin);
|
||||
|
||||
} else {
|
||||
$this->errorLog[] = "[" . __LINE__ . "]" . "Could not open file output path for writing.";
|
||||
$this->errorLog[] = "[" . __LINE__ . "]" . "Could not open file input path for writing.";
|
||||
return false;
|
||||
}
|
||||
|
||||
// Close the output file
|
||||
fclose($fout);
|
||||
return 1;
|
||||
} else {
|
||||
$this->errorLog[] = "[" . __LINE__ . "]" . "Could not open file output path for writing.";
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in New Issue