From f150f29c3aac41491298d789c1c2d9c01c4f1a04 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Thu, 28 Mar 2019 11:38:12 +0800 Subject: [PATCH] =?UTF-8?q?AMP=20=E5=9B=BE=E7=89=87=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BD=91=E7=AB=99=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/views/amp_editor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/views/amp_editor.php b/application/views/amp_editor.php index 26ebdd6f..9593b5a9 100644 --- a/application/views/amp_editor.php +++ b/application/views/amp_editor.php @@ -111,10 +111,10 @@ } function openKCFinder_Root_callback(result) { - var site_image_url = 'http://202.103.68.44/upload'; + var site_image_url = 'config->item('media_image_url') ?>'; if (result != null && result.Pinfo[0]) { console.info(result.Pinfo[0]); - $("#selectedImageUrl").val(result.Pinfo[0].PUrl); + $("#selectedImageUrl").val(site_image_url + result.Pinfo[0].PUrl); } }