Skip to content

static Urls::$debug

micahbaumann edited this page Oct 12, 2022 · 1 revision

Description

Sets whether the current project is in debug mode or not.

Type Default Value
Bool False

Examples

<?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->exe();

?>
Clone this wiki locally