Set self::$webroot dynamically.