<?php

	defined('PATH') or die('direct access not allowed!');

    // Company Name already defined means this file is already included by _rewrite.php
    if ( defined('SCRIPT_COMPANY_NAME') ) {
        return;
    }

	// Company Name
	define('SCRIPT_COMPANY_NAME',			'{SCRIPT_COMPANY_NAME}');


	// Default Language ID
	define('SCRIPT_DEFAULT_LANGUAGE',		{SCRIPT_DEFAULT_LANGUAGE});


	// Mod Rewrite
	define('USE_MOD_REWRITE',				'{USE_MOD_REWRITE}');
	define('IS_LOCAL',						'N');
	define('EXTENSION',						(USE_MOD_REWRITE=='Y'?'htm':'php'));

	
	// Redirect to webpage of shop IF ONLY "One Store" is present for that product.
	define('REDIRECT_ON_ONE_STORE',					{REDIRECT_ON_ONE_STORE});


	// Clickthrough recorded after X hours
	define('CLICKTHROUGH_RECORDED_AFTER',			{CLICKTHROUGH_RECORDED_AFTER});


	// Send warning email to merchant for package expiry before X number of days
	define('MERCHANT_PACKAGE_EXPIRY_NOTIFY_DAYS',	{MERCHANT_PACKAGE_EXPIRY_NOTIFY_DAYS});


	// Send warning email to merchant for balance low X amount
	define('MERCHANT_BALANCE_NOTIFY_LOWER_LIMIT',	{MERCHANT_BALANCE_NOTIFY_LOWER_LIMIT});


	// Default Charset used in admin and public panel
	define('DEFAULT_CHARSET',						'{DEFAULT_CHARSET}');
	
	// Default country in the dropdown
	define('DEFAULT_COUNTRY',						'{DEFAULT_COUNTRY}');	
		
	// Disallow email from same domain
	define('DISALLOW_EMAIL_FROM_SAME_DOMAIN',		{DISALLOW_EMAIL_FROM_SAME_DOMAIN});
	
	// Do shutdown site
	define('DO_SHUTDOWN_WEBSITE',					{DO_SHUTDOWN_WEBSITE});
	
	
	//********************************************************************************************************	
	// BASIC FLAGS -MIXED-	
	//********************************************************************************************************	

	// File upload valid extensions
	define('VALID_EXTENSIONS',					'{VALID_EXTENSIONS}');

	// Perform Refer Check
	define('DO_PERFORM_REFER_CHECK',			{DO_PERFORM_REFER_CHECK});

	// Cleanup input for strict checking. Disable it for other languages
	define('DO_DISABLE_INPUT_FILTERING',		{DO_DISABLE_INPUT_FILTERING});

	// Show Refer A Friend
	define('SHOW_REFER_A_FRIEND',				'{SHOW_REFER_A_FRIEND}');

	// Display CurrencySymbol Before/After Price
	define('IS_CURRENCY_AFTER_PRICE',			{IS_CURRENCY_AFTER_PRICE});

	// Perform Search By Words
	define('IS_SEARCH_BY_WORD',					{IS_SEARCH_BY_WORD});

	// Enable Manufacturer CODE Search
	define('DO_ENABLE_SEARCH_BY_CODE',			{DO_ENABLE_SEARCH_BY_CODE});

	// Enable Search by MYSQL MATCH
	define('DO_ENABLE_SEARCH_BY_MATCH',			{DO_ENABLE_SEARCH_BY_MATCH});

	// Max Execution Time for PRODUCT SPIDER per call
	define('MAX_EXECUTION_4_PRODUCT_SPIDER',	{MAX_EXECUTION_4_PRODUCT_SPIDER});

	// In Europe , is used as decimal
	define('IS_COMMA_DECIMAL_SEPARATOR',		{IS_COMMA_DECIMAL_SEPARATOR});

	// Admin folder name - Useful as sometimes people want to change admin folder name.
	define('ADMIN_FOLDER_NAME',					'{ADMIN_FOLDER_NAME}');

	// Is registration compulsory for Review/Rating.
	define('DO_WRITE_REVIEW_WITHOUT_LOGIN',		{DO_WRITE_REVIEW_WITHOUT_LOGIN});

	//********************************************************************************************************	
	// FUNCTIONALITY FLAGS
	//********************************************************************************************************

	// Set this option to YES if you want to Show PageBreaks with page numbers
	define('SHOW_PAGE_BREAKS_WITH_NUMBERS',		{SHOW_PAGE_BREAKS_WITH_NUMBERS});

	// Set this option to 1 if you want to hide shipping column in price comparison
	define('DO_HIDE_SHIPPING_COLUMN',			{DO_HIDE_SHIPPING_COLUMN});

	// Set this option to 1 if you want to show shipping column from database
	define('DO_SHOW_SHIPPING_FROM_DB',			{DO_SHOW_SHIPPING_FROM_DB});

	// Set this option to 1 if you want to hide 468x60 banner on homepage
	define('DO_HIDE_BANNER_ON_HOMEPAGE',		{DO_HIDE_BANNER_ON_HOMEPAGE});

	// Set this option to 1 if you want to hide 468x60 banner below price comparison list
	define('DO_HIDE_BANNER_ON_PRICE_COMP',		{DO_HIDE_BANNER_ON_PRICE_COMP});

	// Set this option to 1 if you want to hide availability column
	define('DO_HIDE_AVAILABILITY_COLUMN',		{DO_HIDE_AVAILABILITY_COLUMN});

    // Show newsletter pop on homepage automatically once for a user (after 15 seconds)
	define('AUTOSHOW_NEWSLETTER_POP',		    {AUTOSHOW_NEWSLETTER_POP});

    // Set this to the current theme, keep default if not sure
    define('CURRENT_THEME',		                '{CURRENT_THEME}');

    // Set this to the current template, keep default if not sure
    // If you have changed the template here, you may also want to change theme above
    define('CURRENT_TEMPLATE',					'{CURRENT_TEMPLATE}');

