|
|
@ -2404,7 +2404,7 @@ class Information extends CI_Controller
|
|
|
|
// 设置图片尺寸
|
|
|
|
// 设置图片尺寸
|
|
|
|
// 优化过图片目录:D:\wwwroot\origin-images.chinahighlights.com\optimize\
|
|
|
|
// 优化过图片目录:D:\wwwroot\origin-images.chinahighlights.com\optimize\
|
|
|
|
$www_local_path = 'D:/wwwroot/origin-www.asiahighlights.com';
|
|
|
|
$www_local_path = 'D:/wwwroot/origin-www.asiahighlights.com';
|
|
|
|
$image_local_path = 'D:/wwwroot/origin-images.asiahighlights.com/optimize';
|
|
|
|
$image_local_path = 'D:/wwwroot/origin-images.chinahighlights.com/optimize';
|
|
|
|
if (is_dir($www_local_path) && is_dir($image_local_path)) {
|
|
|
|
if (is_dir($www_local_path) && is_dir($image_local_path)) {
|
|
|
|
$template = $this->html_optimize_lib->set_image_size_local($template, $www_local_path, $image_local_path);
|
|
|
|
$template = $this->html_optimize_lib->set_image_size_local($template, $www_local_path, $image_local_path);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|