Avoid UTF8 warning in mod/proxy.php
This commit is contained in:
parent
ef3c87b487
commit
d6be33cbbb
|
@ -264,7 +264,7 @@ function proxy_url($url, $writemode = false, $size = '') {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Image URL may have encoded ampersands for display which aren't desirable for proxy
|
// Image URL may have encoded ampersands for display which aren't desirable for proxy
|
||||||
$url = html_entity_decode($url, ENT_NOQUOTES, 'UTF8');
|
$url = html_entity_decode($url, ENT_NOQUOTES, 'utf-8');
|
||||||
|
|
||||||
// Creating a sub directory to reduce the amount of files in the cache directory
|
// Creating a sub directory to reduce the amount of files in the cache directory
|
||||||
$basepath = $a->get_basepath() . '/proxy';
|
$basepath = $a->get_basepath() . '/proxy';
|
||||||
|
|
Loading…
Reference in a new issue