Skip to content

Commit

Permalink
www/mediawiki: fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
4ad committed Feb 21, 2018
1 parent 5ff0b8a commit dc367f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/mediawiki/wiki.go
Expand Up @@ -37,8 +37,8 @@ const (
PHPWhitelistDirs = "/"

// only serve static assets from these directories (relative
// to the mediawiki installation directory) and their children,
// recursively.
// to the mediawiki installation directory) and from their
// children, recursively.
AssetWhitelistDirsRecursive = "/resources:/skins"
)

Expand Down Expand Up @@ -161,7 +161,7 @@ func (mw *Mediawiki) ServeHTTP(w http.ResponseWriter, r *http.Request) {
"SCRIPT_FILENAME=" + file,

// Unsure what this variable should to be set to. Leaving it
// unset causes PHP to become confused about it's own URL.
// unset causes PHP to become confused about its own URL.
// Making it set, but empty, seems to work.
"SCRIPT_NAME=",

Expand Down

0 comments on commit dc367f5

Please sign in to comment.