=')) { error_reporting(error_reporting() & ~E_DEPRECATED); } if (!defined('CONSOLE')) { // Set maximum time limit for script execution. @set_time_limit(3600); } /* * Database connection options */ $config['db_host'] = '[[softdbhost]]'; $config['db_name'] = '[[softdb]]'; $config['db_user'] = '[[softdbuser]]'; $config['db_password'] = '[[softdbpass]]'; $config['database_backend'] = 'mysqli'; // Database tables prefix $config['table_prefix'] = '[[dbprefix]]'; /* * Script location options * * Example: * Your url is http://www.yourcompany.com/store/cart * $config['http_host'] = 'www.yourcompany.com'; * $config['http_path'] = '/store/cart'; * * Your secure url is https://secure.yourcompany.com/secure_dir/cart * $config['https_host'] = 'secure.yourcompany.com'; * $config['https_path'] = '/secure_dir/cart'; * */ // Host and directory where software is installed on no-secure server $config['http_host'] = '[[domhost]]'; $config['http_path'] = '[[relativeurl]]'; // Host and directory where software is installed on secure server $config['https_host'] = '[[domhost]]'; $config['https_path'] = '[[relativeurl]]'; /* * Misc options */ // Names of index files for the frontend and backend $config['customer_index'] = 'index.php'; $config['admin_index'] = '[[admin_folder]]'; // DEMO mode $config['demo_mode'] = false; // Source of the installation $config['source'] = 'Softaculous'; // Tweaks $config['tweaks'] = array ( // Whether to remove any javascript code from description and name of product, category, etc. // Auto - false for ULT, true for MVE. 'sanitize_user_html' => 'auto', 'anti_csrf' => true, // protect forms from CSRF attacks 'disable_block_cache' => false, // used to disable block cache 'disable_localizations' => true, // Disable Localizations functionality 'disable_dhtml' => false, // Disable Ajax-based pagination and Ajax-based "Add to cart" button 'do_not_apply_promotions_on_order_update' => true, // If true, the promotions that applied to the order won't be changed when editing the order. New promotions won't be applied to the order. 'dev_js' => false, // set to true to disable js files compilation 'redirect_to_cart' => false, // Redirect customer to the cart contents page. Used with the "disable_dhtml" setting. 'api_https_only' => false, // Allows the use the API functionality only by the HTTPS protocol 'api_allow_customer' => false, // Allow open API for unauthorized customers 'lazy_thumbnails' => false, // generate image thumbnails on the fly 'image_resize_lib' => 'auto', // library to resize images - "auto", "gd" or "imagick" 'products_found_rows_no_cache_limit' => 100, // Max count of SQL found rows without saving to cache 'show_database_changes' => false, // Show database changes in View changes tool 'backup_db_mysqldump' => false, // Backup database using mysqldump when available 'allow_product_filters_to_create_temporary_table' => true, // Allows product filters to create temporary table for products query 'request_errors_threshold' => 30, // Threshold for the number of errors when an email realtime delivery error notification is triggered 'profile_field_max_upload_filesize' => '10M', //Limit max upload file size for profile fields 'validate_menu' => true, // Disable option to add any new element to top and central admin panel menu and to Add-ons top menu element. 'secure_cookies' => true, // Allow to set "Secure" flag to cookies, if your store works with HTTPS. P.S. All users will be log out, also, all abandoned carts will lost. 'cors_allowlist' => [], // CORS enabled domains, e.g. ['domain1.com', 'domain2.com'] 'csp_frame_ancestors' => [], // The HTTP Content-Security-Policy (CSP) frame-ancestors directive specifies valid parents that may embed a page using ,