[WordPress] 外掛分享: Correct PHP_SELF

首頁外掛目錄 › Correct PHP_SELF
全新外掛
安裝啟用
尚無評分
5298 天前
最後更新
問題解決
WordPress 1.5+ v0.1 上架:2010-01-28

內容簡介

在某些伺服器中,$_SERVER['PHP_SELF'] 包含 /example.com/index.php 而非僅有 /index.php。這個一行程式碼的外掛能夠恢復正確的值。只有在您的管理介面中有其他外掛和/或類似 http://example.com/example.com/wp-admin/ 的 URL 問題時才需要使用它。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Correct PHP_SELF」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

On some servers $_SERVER['PHP_SELF'] contains /example.com/index.php instead of just /index.php. This one-line plugin restores the correct value. You only need it if you have problems with some other plugins and/or URLs like http://example.com/example.com/wp-admin/ in your admin screens.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon