Hide index php: Difference between revisions

No edit summary
Line 10: Line 10:


'''STEP 2:''' Now add the following code in LocalSettings.php
'''STEP 2:''' Now add the following code in LocalSettings.php
{{PHP}}
  $wgScriptPath      = “/<span style="color:#ff0000">MW-DIRECTORY</span>“;
  $wgScriptPath      = “/<span style="color:#ff0000">MW-DIRECTORY</span>“;
  $wgScriptExtension  = “.php”;
  $wgScriptExtension  = “.php”;