手册:$wgScriptExtension

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgScriptExtension and the translation is 11% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎中文 • ‎日本語
路径: $wgScriptExtension
Extension to append to script names by default.
引进版本:1.11.0
移除版本:1.27.0
允许的值:(string)
默认值:'.php'
其他设置: 按首字母排序 | 按功能排序

Details

Extension to append to script names by default. This can either be ".php" or ".php5".

Some hosting providers used PHP 4 for *.php files, and PHP 5 for *.php5. This variable was provided to support those providers.

Now that this setting has been removed you can set up URL rewriting from ".php5" files to ".php" files to continue supporting ".php5" entry points.