-
Notifications
You must be signed in to change notification settings - Fork 1
Urls::exe()
micahbaumann edited this page Oct 12, 2022
·
1 revision
The entry-point into the URLS. Checks the URI and redirects the user.
Returns |
---|
void |
Parameter | Default | Type | Required | Description |
---|---|---|---|---|
- | - | - | - | - |
<?php
/*
URLS framework url config file.
Add your paths here:
ex. $urls->path('blog/', 'blog-home.php', true);
*/
include 'urls/Urls.php';
Urls::$base = '/';
$urls = new Urls;
$urls->path('blog/', 'blog-home.php', true);
$urls->exe();
?>