-
Notifications
You must be signed in to change notification settings - Fork 1
static Urls::$defaultErrors
micahbaumann edited this page Oct 12, 2022
·
1 revision
An array containing the paths to the default error documents for the project.
Type | Default Value |
---|---|
Array | array() |
<?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::$defaultErrors[404] = "errors/404_error.php";
$urls = new Urls;
$urls->path('blog/', 'blog-home.php', true);
$urls->exe();
?>