* Serve static content.
* Less verbose logging, we don't really need a notice for every SQL query.
#!/bin/bash
sourceDir=`dirname "$0"`
+sourceRoot=`readlink -f "$sourceDir/../.."`
"$sourceDir"/build/persistent/mediawiki-hphp \
-c "$sourceDir/server.conf" \
+ -v Server.SourceRoot="$sourceRoot" \
--mode=server \
--port=8080
Log {
- Level = Verbose
+ Level = Warning
UseLogFile = true
File = /dev/stdout
NativeStackTrace = true
ServerErrorMessage = true
TranslateSource = true
}
+Server {
+ EnableStaticContentFromDisk = true
+}