DIR_ROOT, 'functions' => DIR_ROOT . '/app/functions/', 'lib' => DIR_ROOT . '/app/lib/', 'addons' => DIR_ROOT . '/app/addons/', 'design_frontend' => DIR_ROOT . '/design/themes/', 'design_backend' => DIR_ROOT . '/design/backend/', 'payments' => DIR_ROOT . '/app/payments/', 'schemas' => DIR_ROOT . '/app/schemas/', 'themes_repository' => DIR_ROOT . '/var/themes_repository/', 'database' => DIR_ROOT . '/var/database/', 'var' => DIR_ROOT . '/var/', 'upgrade' => DIR_ROOT . '/var/upgrade/', 'cache_templates' => DIR_ROOT . '/var/cache/templates/', 'cache_registry' => DIR_ROOT . '/var/cache/registry/', 'files' => DIR_ROOT . '/var/files/', 'cache_misc' => DIR_ROOT . '/var/cache/misc/', 'layouts' => DIR_ROOT . '/var/layouts/', 'snapshots' => DIR_ROOT . '/var/snapshots/', 'lang_packs' => DIR_ROOT . '/var/langs/', 'certificates' => DIR_ROOT . '/var/certificates/', 'store_import' => DIR_ROOT . '/var/store_import/', ); // List of forbidden file extensions (for uploaded files) $config['forbidden_file_extensions'] = array ( 'php', 'php3', 'pl', 'com', 'exe', 'bat', 'cgi', 'htaccess' ); $config['forbidden_mime_types'] = array ( 'text/x-php', 'text/x-perl', 'text/x-python', 'text/x-shellscript' ); $config['js_css_cache_msg'] = "/* ATTENTION! Please do not modify this file, it's auto-generated and all your changes will be lost. The complete list of files it's generated from: [files] */ "; $config['base_theme'] = 'basic'; // FIXME: backward compatibility // Updates server address $config['updates_server'] = 'http://updates.cs-cart.com'; // external resources, related to product $config['resources'] = array( 'knowledge_base' => 'http://kb.cs-cart.com/installation', 'updates_server' => 'http://updates.cs-cart.com', 'twitter' => 'cscart', 'feedback_api' => 'http://www.cs-cart.com/index.php?dispatch=feedback', 'product_url' => 'http://www.cs-cart.com', 'helpdesk_url' => 'http://www.cs-cart.com/helpdesk', 'license_url' => 'http://www.cs-cart.com/licenses.html', 'marketplace_url' => 'http://marketplace.cs-cart.com', 'admin_protection_url' => 'http://kb.cs-cart.com/adminarea-protection', 'widget_mode_url' => 'http://kb.cs-cart.com/widget-mode', //'demo_store_url' => 'http://demo.cs-cart.com/' . strtolower(PRODUCT_EDITION) . '/' ); // Debugger token $config['debugger_token'] = 'debug'; // Get local configuration require_once($config['dir']['root'] . '/config.local.php'); // Define host directory depending on the current connection $config['current_path'] = (defined('HTTPS')) ? $config['https_path'] : $config['http_path']; $config['http_location'] = 'http://' . $config['http_host'] . $config['http_path']; $config['https_location'] = 'https://' . $config['https_host'] . $config['https_path']; $config['current_location'] = (defined('HTTPS')) ? $config['https_location'] : $config['http_location']; $config['current_host'] = (defined('HTTPS')) ? $config['https_host'] : $config['http_host']; $config['allowed_pack_exts'] = array('tgz', 'gz', 'zip'); return $config;