Hide index php: Difference between revisions
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
'''STEP 2:''' Now add the following code in LocalSettings.php | '''STEP 2:''' Now add the following code in LocalSettings.php | ||
{{PHP}} | {{PHP|Code}} | ||
$wgScriptPath = “/<span style="color:#ff0000">MW-DIRECTORY</span>“; | $wgScriptPath = “/<span style="color:#ff0000">MW-DIRECTORY</span>“; | ||
$wgScriptExtension = “.php”; | $wgScriptExtension = “.php”; | ||