Hi,
I'm using a GetSimple 3.2.1 with GS Blog 1.5 and I found an issue - if 'admin' folder is renamed uploader for thumbnails stops working.
The reason is that in /blog/inc/uploader/server/php.php there is a include "../../../../../admin/inc/common.php";
Would you check how to avoid using hardcode 'admin' folder name?
One more issue - in function function searchPosts stripos does not work as expected for cyrillic characters. It's case-sensitive for cyrillic.
Therefore I added some code to convert both post content and keyword in upper case before search in string:
$content = $data->title . $data->content;
$content = mb_strtoupper($content, 'utf-8');
...
if (stripos($content, mb_strtoupper($keyword, 'utf-8')) !== FALSE)
Best regards,
Zhivko
I'm using a GetSimple 3.2.1 with GS Blog 1.5 and I found an issue - if 'admin' folder is renamed uploader for thumbnails stops working.
The reason is that in /blog/inc/uploader/server/php.php there is a include "../../../../../admin/inc/common.php";
Would you check how to avoid using hardcode 'admin' folder name?
One more issue - in function function searchPosts stripos does not work as expected for cyrillic characters. It's case-sensitive for cyrillic.
Therefore I added some code to convert both post content and keyword in upper case before search in string:
$content = $data->title . $data->content;
$content = mb_strtoupper($content, 'utf-8');
...
if (stripos($content, mb_strtoupper($keyword, 'utf-8')) !== FALSE)
Best regards,
Zhivko