|
|
@ -251,7 +251,7 @@ class Index_gm extends CI_Controller
|
|
|
|
//请求图片尺寸
|
|
|
|
//请求图片尺寸
|
|
|
|
$image_sizes = array();
|
|
|
|
$image_sizes = array();
|
|
|
|
foreach ($request_size as $host => $path) {
|
|
|
|
foreach ($request_size as $host => $path) {
|
|
|
|
$parse_url = "https://{$host}/imagesize.php?photo=" . implode(',', $path);
|
|
|
|
$parse_url = "https://{$host}/imagesize.php?photo=" . urlencode(implode(',', $path));
|
|
|
|
$size_data = GET_HTTP($parse_url);
|
|
|
|
$size_data = GET_HTTP($parse_url);
|
|
|
|
if (!empty($size_data)) {
|
|
|
|
if (!empty($size_data)) {
|
|
|
|
$size_data = json_decode($size_data);
|
|
|
|
$size_data = json_decode($size_data);
|
|
|
|