You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.0 KiB
31 lines
1.0 KiB
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use CodeHydrater\bootstrap\configure as Config;
|
|
|
|
/**
|
|
* @todo REMOVE or CHANGE [set_local_site_domains] to your
|
|
* PRIVATE or non-public accessible site domain name.
|
|
*
|
|
* Make sure the web-server only servers it on a
|
|
* loop-back or non-routable IP address range,
|
|
* otherwise people will be able to see lots of
|
|
* private DEBUG info. Also, make sure your HOST file has an
|
|
* entry to your web server's IP IG: 127.0.0.1 project.home.local
|
|
*
|
|
* When in Doubt, just make live false, below here!!!
|
|
*/
|
|
// \CodeHydrater\bootstrap\site_helper::set_local_site_domains('project.home.local');
|
|
\CodeHydrater\bootstrap\site_helper::set_allowed_Private_IPs(['192.168.10.2']);
|
|
// \CodeHydrater\bootstrap\site_helper::set_allowed_Public_IPs('12.x.x.x');
|
|
|
|
$is_live = \CodeHydrater\bootstrap\site_helper::remote_not_allowed_force_live();
|
|
|
|
Config::set('CodeHydrater', array(
|
|
'site_name' => 'Testing Project',
|
|
'short_url' => true,
|
|
'default_project' => 'home',
|
|
'check_HTML_tags' => true,
|
|
'live' => $is_live,
|
|
)); |