Jump to content

Manual:$wgScriptPath

From mediawiki.org
This page is a translated version of the page Manual:$wgScriptPath and the translation is 64% complete.
Server URLs and file paths: $wgScriptPath
기본 URL 경로입니다.
이 변수가 소개된 버전:Before 1.1.0
이 변수가 사라진 버전:계속해서 쓰이고 있음
허용값:(상대 경로)
기본값:'/wiki', 설치관리자에 의해 'w'로 자동으로 재정의됨

설명

The base path in a URL, used to build URLs to refer to other parts of this wiki. This might be a virtual path, which might be processed using Apache's mod_rewrite (for example), to determine the directory in which MediaWiki assets are found.

A lot of other variables are defined relative to this one. If you redefine this in your LocalSettings.php then all dependent variables will need checking and might need redefining too!

This will be set to your base directory in LocalSettings.php at installation time. See 매뉴얼:Short URL for details.

예시

$wgScriptPath = '/w';

같이 보기