今日把http轉成https
到後台編輯時發現無法瀏覽伺服器及上傳圖片
到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/';
就能正常使用了
文章出處
文章標籤
全站熱搜
