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