Ckeditor Ckfinder https 沒法瀏覽伺服
本日把http轉成https
到後台編輯時發現沒法瀏覽伺服器及上傳圖片
到ckeditor目次下,找到config.js
改成
網站架設
- $baseUrl = 'http://'.$_SERVER['HTTP_HOST'].'/attachments/';
複製代碼
- baseurl = 'http://'+window.location.hostname;
複製代碼
到ckfinder目次下,找到config.php
就能正常使用了
文章出處
網站架設改成
- $baseUrl = 'https://'.$_SERVER['HTTP_HOST'].'/attachments/';
複製代碼
- baseurl = 'https://'+window.location.hostname;
網站架設
複製代碼
本篇文章引用自此: