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



就能正常利用了


文章出處

本日把http轉成https


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


Ckeditor Ckfinder https 沒法瀏覽伺服


到ckeditor目次下,找到config.js

改成

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

Ckeditor Ckfinder https 沒法瀏覽伺服

改成

到ckfinder目次下,找到config.php

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


以下文章來自:
arrow
arrow
    文章標籤
    網頁設計
    全站熱搜

    victorjod6q 發表在 痞客邦 留言(0) 人氣()