Jump to content

Manual:$wgScript

From mediawiki.org
This page is a translated version of the page Manual:$wgScript and the translation is 75% complete.
Server URLs and file paths: $wgScript
index.php의 URL
이 변수가 소개된 버전:Before 1.1.0
이 변수가 사라진 버전:계속해서 쓰이고 있음
허용값:(상대 경로)
기본값:"{$wgScriptPath }/index.php" (1.2+)

"{$wgScriptPath }/wiki.phtml" (pre 1.1.0 - 1.1)

(Note: The default value of this variable depends on other variables, such as the values set in Setup.php , after LocalSettings.php is executed)

설명

DOCUMENT_ROOT에 상대적인 index.php의 URL.

$wgArticlePath is defined relative to $wgScript. If you redefine this in your LocalSettings.php then you must also make sure you update $wgArticlePath.

같이 보기