Function __global->url_is_local
Definitions
sources/urls.php
- Find if the specified URL is local or not (actually, if it is relative). This is often used by code that wishes to use file system functions on URLs (the software will store such relative local URLs for uploads, etc).
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$url | URLPATH | required parameter | N/A | N/A | The URL to check |
Return
- Whether the URL is local
- Type: boolean
- Set: N/A
- Range: N/A