24h購物| | PChome| 登入
2023-01-06 21:18:04| 人氣1| 回應0 | 下一篇

Ckeditor Ckfinder https 沒法瀏覽伺服

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

改成

今日把http轉成https


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





到ckeditor目錄下,找到config.js

網站架設1.png

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



就可以正常使用了


文章出處

網站架設
  1. baseurl = 'https://'+window.location.hostname;
複製代碼
  1. baseurl = 'http://'+window.location.hostname;
複製代碼

網站架設到ckfinder目錄下,找到config.php

改成



引用自:

台長: tommyjbg2

您可能對以下文章有興趣

人氣(1) | 回應(0)| 推薦 (0)| 收藏 (0)| 轉寄
全站分類: 心情日記(隨筆、日記、心情手札) | 個人分類: NetYea |
此分類下一篇:jQuery Devrama Slider 幻燈片 網站架設

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