Permalink
Browse files

Fix image upload issue.

  • Loading branch information...
realdigger
realdigger committed Mar 3, 2017
1 parent b5e4880 commit 963884b8a48f623457ce68873a897d3978f9f4fd
Showing with 3 additions and 2 deletions.
  1. 0 license.txt → LICENSE
  2. +3 −2 Sources/GarageFunctions.php
File renamed without changes.
@@ -489,7 +489,8 @@ function dynoqm_select($VID, $dynoqm_id = 0)
function findexts($filename)
{
$filename = strtolower($filename);
$exts = preg_split("[/\\.]", $filename);
$exts = explode('.', $filename);
$n = count($exts) - 1;
$exts = $exts[$n];
return $exts;
@@ -505,7 +506,7 @@ function make_thumbnail($image, $store = 1, $remote = 0)
//echo "<br />";
$path = $boarddir . '/' . $smfgSettings['upload_directory'];
$name = preg_split("\.", $image);
$name = explode('.', $image);
//echo "<b>Path</b>: ".$path;
//echo "<br />";

0 comments on commit 963884b

Please sign in to comment.