/* * Rewrite */ $config['friendly_links'] = null; define( 'FRIENDLY_LINKS', $config['friendly_links'] ); if( FRIENDLY_LINKS == true ){ $config['index'] = 'index.html'; $config['redirect'] = null; $config['search_amp'] = isset( $sPhrase ) ? '&' : '?'; } else{ $config['index'] = '?'; $config['redirect'] = $_SERVER['PHP_SELF']; $config['search_amp'] = '&'; } define( 'INDEX', $config['index'] ); define( 'REDIRECT', $config['redirect'] ); $config['hidden_shows'] = true; /* * If You want embed PHP code in template files * set this variable true but it is not recommended and * script will be slower */ $config['embed_php'] = false; /* * If true, then script will search db/*_products_ext.php file in * meta keywords, meta description and full description. * We dont recommend it if shopping cart have more then 1000 products */ $config['search_products_description'] = true; /* * Administrator login and password */ $config['login'] = "admin"; $config['pass'] = "lars123"; /* * Add minutes difference between your local time and server time */ $config['time_diff'] = 0; /* * Default language */ $config['default_lang'] = "en"; /* * If should be use wysiwyg editor or default */ $config['wysiwyg'] = true; /* * If should be text size change option on pages */ $config['text_size'] = true; /* * If files should be copied if use the same */ $config['copy_the_same_files'] = false; /* * If should be language parameter added to url */ $config['language_in_url'] = false; /* * Language separator in url */ $config['language_separator'] = '_'; define( 'LANGUAGE_IN_URL', $config['language_in_url'] ); define( 'LANGUAGE_SEPARATOR', $config['language_separator'] ); /* * Leave code below! */ require_once $config['dir_core'].'common.php'; $config['cookie_admin'] = defined( 'CUSTOMER_PAGE' ) ? null : 'A'; if( defined( 'CUSTOMER_PAGE' ) && !isset( $sLang ) && LANGUAGE_IN_URL == true ) $sLang = getLanguageFromUrl( ); if( isset( $sLang ) && is_file( $config['dir_lang'].$sLang.'.php' ) && strlen( $sLang ) == 2 ){ setCookie( 'sLanguage'.$config['cookie_admin'], $sLang, time( ) + 86400 ); define( 'LANGUAGE', $sLang ); } else{ if( !empty( $_COOKIE['sLanguage'.$config['cookie_admin']] ) && is_file( $config['dir_lang'].$_COOKIE['sLanguage'.$config['cookie_admin']].'.php' ) && strlen( $_COOKIE['sLanguage'.$config['cookie_admin']] ) == 2 ) define( 'LANGUAGE', $_COOKIE['sLanguage'.$config['cookie_admin']] ); else define( 'LANGUAGE', $config['default_lang'] ); } $config['language'] = LANGUAGE; $config['version'] = '3.6'; $config['last_login'] = "1319638401"; $config['before_last_login'] = "1314202032"; $config['failed_login_time'] = 1393529777; $config['failed_login_count'] = 24; $config['poll_max_answers'] = 7; $config['users_plugin_active'] = true; $config['hide_authorized_pages'] = true; $config['column_login_form'] = false; $config['basket_summary'] = true; $config['newsletter'] = true; $config['cross_sell'] = true; $config['display_all_files'] = true; $config['display_expanded_menu'] = true; $config['display_subcategory_products'] = true; $config['change_files_names'] = false; $config['before_amp'] = !strstr( $_SERVER['REQUEST_URI'], '?' ) ? '?' : null; $config['send_order_status_to_client'] = true; $config['pages_images_sizes'] = Array( 0 => 100, 1 => 200 ); $config['max_dimension_of_image'] = 900; $aOuterPaymentOption = Array( 1 => 'DotPay', 2 => 'Przelewy24', 3 => 'PayPal', 4 => 'Platnosci.pl', 5 => '┼╗agiel', 6 => 'Moneybookers', 7 => 'iDeal' ); $config['skapiec_shop_id'] = '2222'; $config['nokaut_shop_id'] = ''; $config['config'] = 'config/general.php'; $config['config_lang'] = 'config/lang_'.LANGUAGE.'.php'; $config_db['pages'] = $config['dir_db'].LANGUAGE.'_pages.php'; $config_db['pages_ext'] = $config['dir_db'].LANGUAGE.'_pages_ext.php'; $config_db['pages_files'] = $config['dir_db'].LANGUAGE.'_pages_files.php'; $config_db['users'] = $config['dir_db'].'users.php'; $config_db['users_pages'] = $config['dir_db'].LANGUAGE.'_users_pages.php'; $config_db['users_groups'] = $config['dir_db'].'users_groups.php'; $config_db['users_to_groups'] = $config['dir_db'].'users_to_groups.php'; $config_db['admins'] = $config['dir_db'].'admins.php'; $config_db['admins_privilages'] = $config['dir_db'].'admins_privilages.php'; $config_db['producers'] = $config['dir_db'].LANGUAGE.'_producers.php'; $config_db['products_attributes'] = $config['dir_db'].LANGUAGE.'_products_attributes.php'; $config_db['features'] = $config['dir_db'].LANGUAGE.'_features.php'; $config_db['features_products'] = $config['dir_db'].LANGUAGE.'_features_products.php'; $config_db['categories_nokaut_names'] = $config['dir_db'].LANGUAGE.'_categories_nokaut_names.php'; $config_db['products_related'] = $config['dir_db'].LANGUAGE.'_products_related.php'; $config_db['banners'] = $config['dir_db'].'banners.php'; $config_db['banners_stats'] = $config['dir_db'].'banners_stats.php'; $config_db['boxes'] = $config['dir_db'].LANGUAGE.'_boxes.php'; $config_db['pages_comments'] = $config['dir_db'].LANGUAGE.'_pages_comments.php'; $config_db['products_comments'] = $config['dir_db'].LANGUAGE.'_products_comments.php'; $config_db['newsletter'] = $config['dir_db'].'newsletter.php'; $config_db['products'] = $config['dir_db'].LANGUAGE.'_products.php'; $config_db['products_ext'] = $config['dir_db'].LANGUAGE.'_products_ext.php'; $config_db['products_files'] = $config['dir_db'].LANGUAGE.'_products_files.php'; $config_db['products_pages'] = $config['dir_db'].LANGUAGE.'_products_pages.php'; $config_db['orders_temp'] = $config['dir_db'].'orders_temp.php'; $config_db['orders'] = $config['dir_db'].'orders.php'; $config_db['orders_products'] = $config['dir_db'].'orders_products.php'; $config_db['orders_comments'] = $config['dir_db'].'orders_comments.php'; $config_db['orders_status'] = $config['dir_db'].'orders_status.php'; $config_db['payments'] = $config['dir_db'].LANGUAGE.'_payments.php'; $config_db['carriers'] = $config['dir_db'].LANGUAGE.'_carriers.php'; $config_db['carriers_payments']= $config['dir_db'].LANGUAGE.'_carriers_payments.php'; $config_db['discount_vouchers']= $config['dir_db'].'discount_vouchers.php'; $config_db['poll_questions'] = $config['dir_db'].LANGUAGE.'_poll_questions.php'; $config_db['poll_answers'] = $config['dir_db'].LANGUAGE.'_poll_answers.php'; $config_db['poll_votes'] = $config['dir_db'].LANGUAGE.'_poll_votes.php'; $config_db['pages_stats'] = $config['dir_db'].LANGUAGE.'_pages_stats.php'; $config_db['searched_words'] = $config['dir_db'].LANGUAGE.'_searched_words.php'; $config_db['products_stats'] = $config['dir_db'].LANGUAGE.'_products_stats.php'; $config_db['products_stock'] = $config['dir_db'].LANGUAGE.'_products_stock.php'; define( 'DIR_CORE', $config['dir_core'] ); define( 'DIR_DB', $config['dir_db'] ); define( 'DIR_FILES', $config['dir_files'] ); define( 'DIR_BACKUP', DIR_FILES.'backup/' ); define( 'DIR_LIBRARIES', $config['dir_libraries'] ); define( 'DIR_PLUGINS', $config['dir_plugins'] ); define( 'DIR_LANG', $config['dir_lang'] ); define( 'DIR_TEMPLATES', $config['dir_templates'] ); define( 'DIR_THEMES', $config['dir_themes'] ); define( 'DB_PAGES', $config_db['pages'] ); define( 'DB_PAGES_EXT', $config_db['pages_ext'] ); define( 'DB_PAGES_FILES', $config_db['pages_files'] ); define( 'DB_PRODUCTS_STOCK', $config_db['products_stock'] ); define( 'DB_USERS', $config_db['users'] ); define( 'DB_USERS_PAGES', $config_db['users_pages'] ); define( 'DB_USERS_GROUPS', $config_db['users_groups'] ); define( 'DB_USERS_TO_GROUPS', $config_db['users_to_groups'] ); define( 'DB_ADMINS', $config_db['admins'] ); define( 'DB_ADMINS_PRIVILAGES', $config_db['admins_privilages'] ); define( 'DB_PRODUCERS', $config_db['producers'] ); define( 'DB_PRODUCTS_ATTRIBUTES', $config_db['products_attributes'] ); define( 'DB_PAGES_STATS', $config_db['pages_stats'] ); define( 'DB_SEARCHED_WORDS', $config_db['searched_words'] ); define( 'DB_PRODUCTS_STATS', $config_db['products_stats'] ); define( 'DB_FEATURES', $config_db['features'] ); define( 'DB_FEATURES_PRODUCTS', $config_db['features_products'] ); define( 'DB_CATEGORIES_NOKAUT_NAMES', $config_db['categories_nokaut_names'] ); define( 'DB_POLL_QUESTIONS', $config_db['poll_questions'] ); define( 'DB_POLL_ANSWERS', $config_db['poll_answers'] ); define( 'DB_POLL_VOTES', $config_db['poll_votes'] ); define( 'DB_PRODUCTS_RELATED', $config_db['products_related'] ); define( 'DB_BANNERS', $config_db['banners'] ); define( 'DB_BANNERS_STATS', $config_db['banners_stats'] ); define( 'DB_BOXES', $config_db['boxes'] ); define( 'DB_PAGES_COMMENTS', $config_db['pages_comments'] ); define( 'DB_PRODUCTS_COMMENTS', $config_db['products_comments'] ); define( 'DB_NEWSLETTER', $config_db['newsletter'] ); define( 'DB_PRODUCTS', $config_db['products'] ); define( 'DB_PRODUCTS_EXT', $config_db['products_ext'] ); define( 'DB_PRODUCTS_FILES', $config_db['products_files'] ); define( 'DB_PRODUCTS_PAGES', $config_db['products_pages'] ); define( 'DB_ORDERS_TEMP', $config_db['orders_temp'] ); define( 'DB_ORDERS', $config_db['orders'] ); define( 'DB_ORDERS_PRODUCTS', $config_db['orders_products'] ); define( 'DB_ORDERS_COMMENTS', $config_db['orders_comments'] ); define( 'DB_ORDERS_STATUS', $config_db['orders_status'] ); define( 'DB_PAYMENTS', $config_db['payments'] ); define( 'DB_CARRIERS', $config_db['carriers'] ); define( 'DB_CARRIERS_PAYMENTS', $config_db['carriers_payments'] ); define( 'DB_DISCOUNT_VOUCHERS', $config_db['discount_vouchers'] ); define( 'DB_CONFIG', $config['config'] ); define( 'DB_CONFIG_LANG', $config['config_lang'] ); define( 'MAX_DIMENSION_OF_IMAGE', $config['max_dimension_of_image'] ); define( 'POLL_MAX_ANSWERS', $config['poll_max_answers'] ); define( 'POLL_COOKIE_NAME', 'iPollAnswer' ); define( 'HIDDEN_SHOWS', $config['hidden_shows'] ); define( 'DISPLAY_EXPANDED_MENU', $config['display_expanded_menu'] ); define( 'DISPLAY_SUBCATEGORY_PRODUCTS', $config['display_subcategory_products'] ); define( 'WYSIWYG', $config['wysiwyg'] ); define( 'COPY_THE_SAME_FILES', $config['copy_the_same_files'] ); define( 'VERSION', $config['version'] ); define( 'TIME_DIFF', $config['time_diff'] ); define( 'HIDE_AUTHORIZED_PAGES', $config['hide_authorized_pages'] ); define( 'SESSION_KEY_NAME', dirname( $_SERVER['SCRIPT_FILENAME'] ) ); ?>
Fatal error: require(): Failed opening required 'DB_CONFIG_LANG' (include_path='.:/usr/share/php') in /home/cellardoor-direct.nl/public_html/index.php on line 12