mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Set $finfo as a blank var to begin with
This commit is contained in:
@@ -21,6 +21,7 @@ if ($_GET['action']=="load") {
|
||||
echo '<script>action="load";</script>';
|
||||
|
||||
if (file_exists($file)) {
|
||||
$finfo = "";
|
||||
// Determine what to do based on mime type
|
||||
if (function_exists('finfo_open')) {
|
||||
$finfoMIME = finfo_open(FILEINFO_MIME_TYPE);
|
||||
|
||||
Reference in New Issue
Block a user