live debug status updates.

main
Robert 3 years ago
parent ff26edb3ea
commit f61cc7bba2
  1. 2
      public/main.page
  2. 22
      src/configs/mockup/loadall.php
  3. 23
      src/configs/mockup/on_tts.php

@ -8,7 +8,7 @@ declare(strict_types=1);
* @license https://mit-license.org/ * @license https://mit-license.org/
*/ */
$show_all_startup_errors = false; $show_all_startup_errors = false; // Always, Keep false on LIVE PROD SYS!!
if ($show_all_startup_errors) { if ($show_all_startup_errors) {
ini_set('display_errors', 1); ini_set('display_errors', 1);
ini_set('display_startup_errors', 1); ini_set('display_startup_errors', 1);

@ -57,19 +57,29 @@
)); ));
/* Contents of : on_tts.php */ /* Contents of : on_tts.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()),
)); ));
/* Contents of : on_view_mode.php */ /* Contents of : on_view_mode.php */
\main_tts\configure::set('view_mode', array( \main_tts\configure::set('view_mode', array(

@ -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…
Cancel
Save