24h購物| | PChome| 登入
2023-02-14 00:03:09| 人氣26| 回應0 | 上一篇 | 下一篇

Ckeditor Ckfinder https 無法瀏覽伺服

推薦 0 收藏 0 轉貼0 訂閱站台

網站架設

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

本日把http轉成https


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





到ckeditor目錄下,找到config.js



就能正常使用了


文章出處

改成

改成

  1. baseurl = 'http://'+window.location.hostname;
複製代碼

到ckfinder目錄下,找到config.php

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

1.png

  1. baseurl = 'https://'+window.location.hostname;
複製代碼


來自:

台長: ivankmtn3
人氣(26) | 回應(0)| 推薦 (0)| 收藏 (0)| 轉寄
全站分類: 偶像後援(藝人、後援會) | 個人分類: NetYea |
此分類下一篇:Centos 8 postfix+DKIM 設定
此分類上一篇:網址如何從http主動轉為https 網站架設

是 (若未登入"個人新聞台帳號"則看不到回覆唷!)
* 請輸入識別碼:
請輸入圖片中算式的結果(可能為0) 
(有*為必填)
TOP
詳全文