mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 11:36:08 +02:00
Code optimization for speed and reduced memory usage.
This commit is contained in:
@@ -1636,7 +1636,7 @@ class forum_post_handler
|
||||
$_thumb = '';
|
||||
$_fname = '';
|
||||
$fpath = '';
|
||||
if(strstr($upload['type'], 'image'))
|
||||
if(strpos($upload['type'], 'image') !== false)
|
||||
{
|
||||
$_type = 'img';
|
||||
|
||||
|
Reference in New Issue
Block a user