-
Notifications
You must be signed in to change notification settings - Fork 1
Deploying your Site
micahbaumann edited this page Oct 12, 2022
·
6 revisions
Deploying your site is not very different than deploying any other PHP site. However, it is very important to change a few settings or else the performance and security will be significantly effected.
- Disable
Urls::$debug
andUrls::$autoUpdate
by addingUrls::$debug = false;
andUrls::$autoUpdate = false;
to your settings file:<?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 = false; Urls::$autoUpdate = false; $urls = new Urls; $urls->path('blog/', 'blog-home.php', true); $urls->exe(); ?>
- Deploy your site as you would any other PHP site. Each host is a little different. See your hosting provider's documentation for instructions.