A Sample PHP Project for the tts_framework.
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.
 
 
 

76 lines
2.7 KiB

<?php
/*
* This file is Auto-Generated, Do NOT Modify!!! Please Delete this file to update configuration!
*/
/* Contents of : on_email.php */
\main_tts\configure::set('email', array(
// 'host' => '', // SMTP Hosts - seperated by ;
// 'username' => '',
// 'password' => '',
'send_emails' => false, // Enable emails
'email_on_errors' => false,
'admin_emails' => array('Bob'=>'bob@localost', 'Chris'=>'chris@localhost'), // Email Admins on error
));
/* Contents of : on_html.php */
\main_tts\configure::set('html', array(
'title' => 'In Mockup...',
'author' => 'Robert Strutts',
'javascript' => array('js/tts.min.js'=>'assets'), //'js/analytics.js'=>'project'
'css' => array('css/style.css'=>'project'),
'robots' => 'noindex',
'keywords' => '',
'description' => '',
));
/* Contents of : on_http_request.php */
\main_tts\configure::set('http_request', array(
'use' => 'sockets', // curl or sockets
));
/* Contents of : on_security.php */
\main_tts\configure::set('security', array(
'show_dumps' => true,
'key' => 'y8+HSfrO8wFknxND8SA2mQZBoYpPDeK+2FmIzdxFU9EmTsZ2rdo7GED0nt4DsKoHmbiBBIoNTMAfl+eEMv6qeA==',
'main_salt' => 'e6fde23484881a29f7b6c6459456f3e1',
'csrf_security_level' => 'high', // Stop Attacks at what cost??
'retries_allowed_before_throttling' => 3, // Reties attempts allowed for login, before it throttles it...
'throttling_login_seconds' => 20, // Seconds to deny more login attempts
'password_hash' => PASSWORD_BCRYPT,
'password_hash_options' => ['cost' => 10], // Default=10. This is a good baseline cost, but you may want to consider increasing it depending on your hardware.
));
/* Contents of : on_sessions.php */
\main_tts\configure::set('sessions', array(
'engine' => 'php', // php, db
'type' => 'none', // Session Type: files, database, or cache
'session_variable' => 'ses_app_aaa_', // set session variable name for project
'session_name' => 'aaa_sys_342_', // More secure then PHPSESSID
'session_table' => false, // DB PHP Session Table name, false = USE FILES
'session_security_level' => 'blaze', // Faster Reqests keep at: blaze
'session_key' => '6cb0d56f2345917624f2c5473e4d32cd',
));
/* Contents of : on_tts.php */
\main_tts\configure::set_key('important', 'private_ip_as_local', false);
\main_tts\configure::set('tts', array(
'error_page' => 'tts', // or project
'404_page' => 'tts', // or project
'ui_kit' => 'tts', // or project
'site_name' => 'Testing',
'short_url' => true,
'default_project' => 'home',
'check_HTML_tags' => true,
'live' => false, //(! \tts\security::is_localhost() ) // Is this Production??
));
/* Contents of : on_view_mode.php */
\main_tts\configure::set('view_mode', array(
'default_paths' => array('json', 'common', 'flexbox', 'default')
));