Added realpath to wwwDir parameter

appDir is also realpath (http://www.php.net/manual/en/language.constants.predefined.php -> __FILE__) so wwwDir should be too. I came across this when I was comparing wwwDir and SplFileInfo::getPath() when there was a symbolic link in the path.