Refactor RBAC migration scripts and update configuration handling
- Removed old migration scripts for profiles and users to RBAC. - Updated config redirector to utilize environment variables for configuration loading. - Added .gitignore files to firmware, log, and marketing directories to prevent unnecessary file tracking. - Introduced new configuration files for acceptance, development, and production environments with relevant settings. - Enhanced settings files to include exception lists, security keys, and database settings.
This commit is contained in:
83
settings/development_config.php
Normal file
83
settings/development_config.php
Normal file
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
require 'settingsprofiles.php';
|
||||
|
||||
// This will change the title on the website
|
||||
define('site_name','Customer Portal - TEST');
|
||||
define('site_name_footer','Total Safety Solutions - TEST');
|
||||
// This will change the title on browser TAB
|
||||
define('site_title','Total Safety Solutions - TEST');
|
||||
//Scriptversion
|
||||
define('script_version','v3');
|
||||
//Enable VeLiTi-issue mgt
|
||||
define('veliti_cim',true);
|
||||
//Enable VeLiTi-analytics
|
||||
define('veliti_analytics',false);
|
||||
//Rewrite rule
|
||||
define('rewrite_url',true);
|
||||
define('news','');
|
||||
//maintenance_mode
|
||||
define('maintenance_mode_communication',false);
|
||||
define('maintenance_mode_notification','Notice: Portal not accessible due to maintenance on May 15th between 12.00 - 13.00 CET.');
|
||||
define('maintenance_mode',false);
|
||||
define('maintenance_mode_user','veliti_admin');
|
||||
define('maintenance_mode_text','System in maintenance');
|
||||
define('debug',true);
|
||||
define('debug_id','114');
|
||||
|
||||
/*Business_Rules*/
|
||||
//Business rules
|
||||
define('WARRANTY_MONTHS','12');
|
||||
define('WARRANTY_ELIGIBILITY_WINDOW','3');
|
||||
define('WARRANTY_EXTENDED_MONTH','24');
|
||||
define('SERVICE_MONTHS','12');
|
||||
//Prevent downgrade from paid to free software versions
|
||||
define('PREVENT_PAID_VERSION_DOWNGRADE',false);
|
||||
|
||||
/*Security*/
|
||||
// Page security
|
||||
define('page_security_key','secure_admin_342642');
|
||||
define('cronjob_number','25');
|
||||
define('header_security',false);
|
||||
|
||||
/* Email */
|
||||
// The from email that will appear on the customer's order details email
|
||||
define('mail_from','CustomerPortal');
|
||||
// Your email
|
||||
define('email','CustomerPortal@veliti.nl');
|
||||
//Additional phpmailer-settings
|
||||
define('email_host_name','veliti.nl');
|
||||
define('email_reply_to','info@gewoonlekkerspaans.nl');
|
||||
define('email_outgoing_pw','306yc%X5f');
|
||||
define('email_outgoing_port','465');
|
||||
define('email_outgoing_security','ssl');
|
||||
// Enable automatice invoice forward to bookkeeping software
|
||||
define('invoice_bookkeeping',false);
|
||||
// Email of bookkeeping software
|
||||
define('email_bookkeeping','');
|
||||
|
||||
/* Payment options */
|
||||
// Mollie
|
||||
define('mollie_enabled',true);
|
||||
define('mollie_api_key','test_jFHqrt9KCSvaBwb4En9ttAM9MTrp9W'); //live_WhsBD8qv3ygR9WVKF3KnCvz9zzNaxh
|
||||
|
||||
// PayPal
|
||||
define('paypal_enabled',true);
|
||||
define('PAYPAL_URL','https://api-m.sandbox.paypal.com');
|
||||
define('PAYPAL_WEBHOOK_ID','3UU05694H1382772B');
|
||||
define('PAYPAL_WEBHOOK','https://acc.veliti.nl/webhook_paypal.php');
|
||||
define('PAYPAL_CLIENT_ID','AYI8iqzBSD2rNrPStfC0xd3jNR3WzwrSIbPw7qgrEs_sOIvORJMZp3j2QjG7SOCOyI5OQ1s42IcZAJI-');
|
||||
define('PAYPAL_CLIENT_SECRET','EEwnnw8adeHicjXSCv9abiQG6_0rCTqDWQAqn3TyMMyz7FURZChL3_ywlHF4BTwqUQtJZsQ4Q_WSwB9R');
|
||||
|
||||
define('pay_on_delivery_enabled',false);
|
||||
/*Appearance*/
|
||||
//Icon
|
||||
define('icon_image','/assets/images/TSS-logo3.png');
|
||||
define('color','#005655c2');
|
||||
define('color_accent','#2FAC66');
|
||||
define('emaillogo','/assets/images/TSSemail.png');
|
||||
|
||||
/*Default Users*/
|
||||
define('software_update_user','EMP-updater');
|
||||
define('software_update_pw','EMP-updater');
|
||||
define('interface_user','interface@test.nl');
|
||||
define('interface_pw','test1234');
|
||||
Reference in New Issue
Block a user