parent
ff26edb3ea
commit
f61cc7bba2
@ -1,14 +1,25 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
\main_tts\configure::set_key('important', 'private_ip_as_local', false); |
/** |
||||||
|
* @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 tts.home.local |
||||||
|
* |
||||||
|
* When in Doubt, just make live false, below here!!! |
||||||
|
*/ |
||||||
|
\bs_tts\site_helper::set_local_site_domains('tts.home.local'); |
||||||
|
// \bs_tts\site_helper::set_allowed_Private_IPs(['192.168.32.2', '192.168.32.3']); |
||||||
|
// \bs_tts\site_helper::set_allowed_Public_IPs('12.x.x.x'); |
||||||
|
|
||||||
\main_tts\configure::set('tts', array( |
\main_tts\configure::set('tts', array( |
||||||
'error_page' => 'tts', // or project |
|
||||||
'404_page' => 'tts', // or project |
|
||||||
'ui_kit' => 'tts', // or project |
|
||||||
'site_name' => 'Testing', |
'site_name' => 'Testing', |
||||||
'short_url' => true, |
'short_url' => true, |
||||||
'default_project' => 'home', |
'default_project' => 'home', |
||||||
'check_HTML_tags' => true, |
'check_HTML_tags' => true, |
||||||
'live' => false, //(! \tts\security::is_localhost() ) // Is this Production?? |
'live' => (\bs_tts\site_helper::remote_not_allowed_force_live()), |
||||||
)); |
)); |
||||||
Loading…
Reference in new issue