網頁設計今日把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/';
就可以正常使用了
文章出處
以下內文出自:
文章標籤
全站熱搜