TShopping
標題:
Ckeditor Ckfinder https 無法瀏覽伺服器及上傳問題
[打印本頁]
作者:
woff
時間:
2022-3-13 21:32
標題:
Ckeditor Ckfinder https 無法瀏覽伺服器及上傳問題
今日把http轉成https
到後台編輯時發現無法瀏覽伺服器及上傳圖片
1.png
(19.32 KB, 下載次數: 5)
下載附件
保存到相冊
Ckeditor Ckfinder https
2022-3-13 21:28 上傳
到ckeditor目錄下,找到config.js
baseurl = 'http://'+window.location.hostname;
複製代碼
改成
baseurl = 'https://'+window.location.hostname;
複製代碼
到ckfinder目錄下,找到config.php
$baseUrl = 'http://'.$_SERVER['HTTP_HOST'].'/attachments/';
複製代碼
改成
$baseUrl = 'https://'.$_SERVER['HTTP_HOST'].'/attachments/';
複製代碼
就能正常使用了
文章出處
歡迎光臨 TShopping (http://www.tshopping.com.tw/)
Powered by Discuz! X3.2