1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00

Code cleanup. Removal of deprecated utf8 classes.

This commit is contained in:
Cameron
2020-12-08 07:29:17 -08:00
parent 25c1592e8a
commit 005bff7e59
7 changed files with 118 additions and 832 deletions

View File

@@ -169,7 +169,7 @@ class e_thumbnail
$tp = e107::getParser();
// convert raw to SC path
$this->_request['src'] = str_replace($tp->getUrlConstants('raw'), $tp->getUrlConstants('sc'), $this->_request['src']);
$this->_request['src'] = str_replace($tp->getUrlConstants('raw'), $tp->getUrlConstants(), $this->_request['src']);
// convert absolute and full url to SC URL
$this->_src = $tp->createConstants($this->_request['src'], 'mix');
@@ -228,7 +228,7 @@ class e_thumbnail
$fname = e107::getParser()->thumbCacheFile($this->_src_path, $options);
$cache_filename = e_CACHE_IMAGE . $fname;
// $this->sendCachedImage($cache_filename, $thumbnfo);
$this->sendCachedImage($cache_filename, $thumbnfo);
// No Cached file found - proceed with image creation.