<?php
# CMS Made Simple Configuration File
# Documentation: https://docs.cmsmadesimple.org/configuration/config-file/config-reference
#
$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'csmtrave_cmss989';
$config['db_password'] = 'S8p-V5@Kx0';
$config['db_name'] = 'csmtrave_cmss989';
$config['db_prefix'] = 'cmsqy_';
$config['timezone'] = 'America/New_York';
$config['smarty_security'] = false;

$config['url_rewriting'] = 'mod_rewrite';

$config['use_hierarchy'] = true;

$config['max_upload_size'] = 64000000; // Size in BYTES (e.g., 64MB)
// 1. Clear deprecation errors instantly
@ini_set('error_reporting', E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED);
@error_reporting(E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED);

// 2. Override internal CMSMS/Module memory checks if they look at global arrays
$_SERVER['upload_max_filesize'] = '64M';
$_SERVER['post_max_size'] = '64M';

$config['root_url'] = 'https://www.csmtravel.com/cmss';
$config['admin_url'] = 'https://www.csmtravel.com/cmss/admin';
$config['ssl_url'] = 'https://www.csmtravel.com/cmss';

$config['cookie_path'] = '/cmss';
$config['cookie_domain'] = 'www.csmtravel.com';

?>