2022-12-31 00:51:19marciaqvj4

Ckeditor Ckfinder https 無法瀏覽伺服

網頁設計

改成

改成



就能正常使用了


文章出處

到ckfinder目次下,找到config.php

1.png

  1. baseurl = 'https://'+window.location.hostname;
複製代碼
  1. $baseUrl = 'http://'.$_SERVER['HTTP_HOST'].'/attachments/';
複製代碼
  1. baseurl = 'http://'+window.location.hostname;
複製代碼

本日把http轉成https


到後台編輯時發現沒法瀏覽伺服器及上傳圖片





到ckeditor目次下,找到config.js

  1. $baseUrl = 'https://'.$_SERVER['HTTP_HOST'].'/attachments/';
複製代碼


引用自: