mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Code Quality
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
class Pub extends FHC_Controller
|
||||
{
|
||||
@@ -128,7 +128,8 @@ class Pub extends FHC_Controller
|
||||
]);
|
||||
|
||||
if (file_exists($filename)) {
|
||||
if ($handle = fopen($filename, "r")) {
|
||||
$handle = fopen($filename, "r");
|
||||
if ($handle) {
|
||||
while (!feof($handle)) {
|
||||
$akte->inhalt .= fread($handle, 8192);
|
||||
}
|
||||
@@ -144,7 +145,6 @@ class Pub extends FHC_Controller
|
||||
if ($akte->inhalt && !$foto_gesperrt) {
|
||||
$cTmpHEX = $akte->inhalt;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user