Skip to content

Commit

Permalink
Merge pull request #42 from nguyenanhung/develop
Browse files Browse the repository at this point in the history
YUP Image Helper
  • Loading branch information
hungnguyenhp committed Sep 14, 2023
2 parents 86c486e + 5d92bf5 commit 54b7ce1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions helpers/image_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ function wordpress_proxy_dns_prefetch()
function bear_framework_image_url($input = '', $server = '', $base = 'live')
{
$images_url = trim($input);
$images_url = str_replace('http://cdnphoto.dantri.com.vn/', 'https://cdnphoto.dantri.com.vn/', $images_url);
if (function_exists('config_item') && !empty($images_url)) {
$no_thumb = array(
'images/system/no_avatar.jpg',
Expand Down
4 changes: 2 additions & 2 deletions src/BaseHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
*/
class BaseHelper
{
const VERSION = '1.5.6';
const LAST_MODIFIED = '2023-09-14';
const VERSION = '1.5.7';
const LAST_MODIFIED = '2023-09-15';
const PROJECT_NAME = 'CodeIgniter - Basic Helper';
const AUTHOR_NAME = 'Hung Nguyen';
const AUTHOR_FULL_NAME = 'Hung Nguyen';
Expand Down

0 comments on commit 54b7ce1

Please sign in to comment.