/** * Returns the path to the JavaScript folder * * @param string $more File to be appended to the end of the result * @return string * @static */ public static function Script($name) { return $name[0] == '/' || strpos($name, 'http://') === 0 ? $name : WebPath::Root(self::scripts . $name); }