* 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
|
// Close the input file
|
||||||
fclose($fin);
|
fclose($fin);
|
||||||
|
|
||||||
} else {
|
} 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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Close the output file
|
// Close the output file
|
||||||
fclose($fout);
|
fclose($fout);
|
||||||
return 1;
|
return 1;
|
||||||
|
} else {
|
||||||
|
$this->errorLog[] = "[" . __LINE__ . "]" . "Could not open file output path for writing.";
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue