The base URL never ends with a /.
This is similar to getBasePath(), except that it also includes the
script filename (e.g. index.php) if one exists.
public static getBaseUrl ( ) : string | ||
리턴 | string | The raw URL (i.e. not urldecoded) |
public static getBaseUrl ( ) : string | ||
리턴 | string | The raw URL (i.e. not urldecoded) |