first commit
This commit is contained in:
617
tests/functional/test.units_float.config.php
Normal file
617
tests/functional/test.units_float.config.php
Normal file
@@ -0,0 +1,617 @@
|
||||
<?php
|
||||
|
||||
// //////////////// CONFIG SOUBOR ESHOPU ////////////////////////////////////
|
||||
// ********************************************************************** //
|
||||
// CONFIG SOUBOR JE SOUBOREM PHP //
|
||||
// RADKY ZAKOMENTUJETE ZNACKAMI // NEBO # //
|
||||
// NEPOUZIVEJTE JEDNODUCHE UVOZOVKY, POUZE DVOJITE //
|
||||
// v pripade problemu kontaktujte autory na: eshop@wpj.cz //
|
||||
// ********************************************************************** //
|
||||
// //////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$cfg['Connection']['database'] = 'phpunit_test_units_float';
|
||||
|
||||
$cfg['debug'] = true;
|
||||
$cfg['autoload_web_root'] = false;
|
||||
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI LICENCE ESHOPU
|
||||
* ======================================================================
|
||||
* licence ID: cislo licence / MUSI BYT UNIKATNI!!!!
|
||||
* licence date: datum zalozeni teto licence
|
||||
* licence dateto: datum platnosti teto licence
|
||||
* version - print: tistena verze eshopu
|
||||
* version - number: verze eshopu v ciselnem formatu pro cteni PHP
|
||||
*/
|
||||
|
||||
$cfg['Program']['version']['number'] = 220;
|
||||
$cfg['Program']['version']['dotted'] = sprintf('%.1F', $cfg['Program']['version']['number'] / 10);
|
||||
$cfg['Program']['version']['print'] = 'v '.$cfg['Program']['version']['dotted'];
|
||||
$cfg['Program']['version']['folder'] = 'v'.$cfg['Program']['version']['dotted'];
|
||||
|
||||
$cfg['Modules'] = [];
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI MODULU ESHOPU
|
||||
* ======================================================================
|
||||
* aktivni moduly.
|
||||
*
|
||||
* Pro zruseni modulu staci radku zakomentovat pomoci //
|
||||
*/
|
||||
// Zboží
|
||||
$cfg['Modules']['products'] = [
|
||||
'price_common' => true,
|
||||
'price_buy' => true,
|
||||
'weight' => true,
|
||||
'sets' => true,
|
||||
'note' => true,
|
||||
'units' => true,
|
||||
'units_float' => true,
|
||||
];
|
||||
|
||||
$cfg['Modules']['convertors'] = true;
|
||||
|
||||
// Parametry zboží
|
||||
$cfg['Modules']['products_parameters'] = [
|
||||
'category_params' => [18, /* 27, 28, 20, 14, 25, */
|
||||
22, 31, 32, 33, 34, 35, 27, 28, 20, ],
|
||||
'campaign_params' => [18],
|
||||
'configurations' => true,
|
||||
];
|
||||
// Sekce zboží
|
||||
$cfg['Modules']['products_sections'] = [
|
||||
'custom_url' => true,
|
||||
];
|
||||
// Výrobci zboží
|
||||
$cfg['Modules']['producers'] = true;
|
||||
// Jednoduché vyhledávání
|
||||
$cfg['Modules']['eshop_search'] = true;
|
||||
// Editovatelné odkazy v menu
|
||||
$cfg['Modules']['menulinks'] = true;
|
||||
// Uživatelé eshopu
|
||||
$cfg['Modules']['eshop_users'] = true;
|
||||
// WYSIWYG úprava
|
||||
// $cfg['Modules']['wysiwyg'] = true;
|
||||
// Objednávky
|
||||
$cfg['Modules']['orders'] = [
|
||||
'dic_validate' => true,
|
||||
];
|
||||
// Záloha databáze
|
||||
$cfg['Modules']['dbbackup'] = true;
|
||||
// Způsoby doručení zásilky
|
||||
$cfg['Modules']['eshop_delivery'] = true;
|
||||
// Obrázky
|
||||
$cfg['Modules']['photos'] = true;
|
||||
// Rozšířené vyhledávání
|
||||
// $cfg['Modules']['eshop_exsearch'] = true;
|
||||
// HTML stránky
|
||||
$cfg['Modules']['html_pages'] = true;
|
||||
// Porovnání zboží
|
||||
// $cfg['Modules']['products_compare'] = true;
|
||||
// Oblíbené položky zákazníků
|
||||
$cfg['Modules']['products_favorites'] = true;
|
||||
// Ankety
|
||||
// $cfg['Modules']['inquiries'] = true;
|
||||
// NewsLetter
|
||||
$cfg['Modules']['newsletter'] = true;
|
||||
// Statistiky
|
||||
$cfg['Modules']['stats'] = true;
|
||||
// Export dat
|
||||
$cfg['Modules']['export'] = true;
|
||||
// Import dat
|
||||
$cfg['Modules']['import'] = true;
|
||||
// Komentáře ke zboží
|
||||
// $cfg['Modules']['products_comments'] = true;
|
||||
// Cenové hladiny zboží
|
||||
$cfg['Modules']['price_levels'] = true;
|
||||
// Články
|
||||
$cfg['Modules']['articles'] = true;
|
||||
// Sekce článků
|
||||
$cfg['Modules']['articles_sections'] = true;
|
||||
// Feed generator
|
||||
$cfg['Modules']['feed_generator'] = true;
|
||||
// Komentáře ke článku
|
||||
// $cfg['Modules']['articles_comments'] = true;
|
||||
// Katalogový Feed
|
||||
$cfg['Modules']['feeds'] = true;
|
||||
// Varianty zboží
|
||||
$cfg['Modules']['products_variations'] = [
|
||||
'variationCode' => true,
|
||||
];
|
||||
// Filtrovani podle kategorii/variant
|
||||
$cfg['Modules']['filter'] = [
|
||||
'totals' => true,
|
||||
'onPage' => [20 => 20, 50 => 50, 100 => 100, 200 => 200, 500 => 500],
|
||||
];
|
||||
$cfg['Modules']['dynamic_filter'] = true;
|
||||
// Automatické importy
|
||||
$cfg['Modules']['automatic_import'] = true;
|
||||
// Dodavatelé produktů/Skladem u dodavatele
|
||||
$cfg['Modules']['products_suppliers'] = [
|
||||
'delivery_time' => -1,
|
||||
];
|
||||
// SEO modul
|
||||
$cfg['Modules']['seo'] = true;
|
||||
// Hlídání produktů které dojdou
|
||||
// $cfg['Modules']['missing_products'] = true;
|
||||
// Dotaz na prodejce
|
||||
// $cfg['Modules']['customer_question'] = true;
|
||||
// Hromadné zpracování objednávek
|
||||
// $cfg['Modules']['orders_mass_process'] = true;
|
||||
// Naskladňovací faktury
|
||||
$cfg['Modules']['stock_in'] = true;
|
||||
// Editace objednávek zákazníkem
|
||||
// $cfg['Modules']['order_edit'] = true;
|
||||
// Platby objednávek
|
||||
$cfg['Modules']['order_payment'] = true;
|
||||
// Slidery
|
||||
$cfg['Modules']['sliders'] = true;
|
||||
// ISIC/ALIVE karty
|
||||
// $cfg['Modules']['isic'] = true;
|
||||
// Vratky
|
||||
// $cfg['Modules']['replacement'] = true;
|
||||
// Sety/Dárky
|
||||
$cfg['Modules']['products_sets'] = [
|
||||
'calculate_price' => true,
|
||||
];
|
||||
// Šablony produktů
|
||||
// $cfg['Modules']['templates'] = true;
|
||||
// Kolekce produktů
|
||||
$cfg['Modules']['products_collections'] = true;
|
||||
// Produkty dodavatelů
|
||||
// $cfg['Modules']['orders_of_suppliers'] = true;
|
||||
// Platebni brany BACHA OSTRA DATA ZKOPIROVANA Z NARADI HORNIG
|
||||
$cfg['Modules']['payments'] = [
|
||||
'ThePay' => [
|
||||
'test' => '1',
|
||||
// 'merchantId' => '457',
|
||||
// 'accountId' => '490',
|
||||
// 'password' => '50973c916453',
|
||||
// 'dataApiPassword' => '0dedd1f91359c4c',
|
||||
],
|
||||
];
|
||||
// Způsoby dopravy
|
||||
$cfg['Modules']['deliveries'] = true;
|
||||
// Google analytics
|
||||
// $cfg['Modules']['google_analytics'] = true;
|
||||
// Heureka ověřené zákazníky
|
||||
// $cfg['Modules']['heureka_overeno'] = true;
|
||||
// Google konverze
|
||||
// $cfg['Modules']['google_conversion'] = true;
|
||||
// Heureka konverze
|
||||
// $cfg['Modules']['heureka_conversion'] = true;
|
||||
// Zbozi.cz
|
||||
// $cfg['Modules']['zbozi_cz_feedback'] = true;
|
||||
// Sklik konverze
|
||||
// $cfg['Modules']['sklik_conversion'] = true;
|
||||
// Zásilkovna
|
||||
// $cfg['Modules']['zasilkovna'] = true;
|
||||
// Fotky k variantám
|
||||
$cfg['Modules']['products_variations_photos'] = true;
|
||||
// Kontaktní formuláře
|
||||
// $cfg['Modules']['forms'] = [];
|
||||
// Inventura
|
||||
// $cfg['Modules']['inventory'] = true;
|
||||
// ReCaptcha
|
||||
// $cfg['Modules']['recaptcha'] = true;
|
||||
// Pokladna
|
||||
// $cfg['Modules']['pos'] = true;
|
||||
// Abra
|
||||
// $cfg['Modules']['abra'] = [
|
||||
// 'server' => 'http://server18.elnino.cz:777/AWS/wsdl/WebEngine', // Official
|
||||
// //'server' => 'http://gw.it-pro.cz:777/AWS/wsdl/WebEngine', // Testing
|
||||
// 'queue' => 'wpj.Q.abra-stock-koza',
|
||||
// //'web' => 'kosmetika-zdravi.cz',
|
||||
// 'web' => null,
|
||||
// ];
|
||||
// Balíkonoš
|
||||
$cfg['Modules']['balikonos'] = true;
|
||||
|
||||
$cfg['Modules']['fulltext_search']['index'] = 'kupshop_kosmetika_zdravi';
|
||||
|
||||
$cfg['Modules']['products_related'] = true;
|
||||
|
||||
// $cfg['Modules']['elnino'] = true;
|
||||
|
||||
$cfg['Modules']['watchdog'] = true;
|
||||
|
||||
$cfg['Modules']['currencies'] = true;
|
||||
$cfg['Modules']['translations'] = true;
|
||||
$cfg['Modules']['symfony'] = true;
|
||||
|
||||
$cfg['Modules']['margins'] = true;
|
||||
|
||||
// Ceníky dopravy
|
||||
$cfg['Modules']['delivery_pricelist'] = true;
|
||||
|
||||
$cfg['Modules']['pricelists'] = true;
|
||||
|
||||
$cfg['Modules']['indexed_filter'] = true;
|
||||
|
||||
$cfg['insert_products_new'] = true;
|
||||
|
||||
$cfg['Modules']['quantity_discount'] = true;
|
||||
|
||||
$cfg['Modules']['bonus_program'] = true;
|
||||
|
||||
$cfg['Modules']['telfa'] = true;
|
||||
$cfg['Modules']['warehouse'] = true;
|
||||
$cfg['Modules']['stores'] = true;
|
||||
$cfg['Modules']['returns'] = true;
|
||||
$cfg['Modules']['reclamations'] = true;
|
||||
$cfg['Modules']['async_emails'] = true;
|
||||
$cfg['Modules']['heureka_cart'] = [
|
||||
'API_ID' => 'API_ID',
|
||||
'test' => '1',
|
||||
];
|
||||
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI ADRESY ESHOPU
|
||||
* ======================================================================
|
||||
* full: plna cesta k eshopu s http:// domenou a adresarem
|
||||
* print: plna cesta k eshopu bez http - verze k vytisteni
|
||||
* error: soubor s chybovou hlaskou
|
||||
*/
|
||||
$cfg['Addr']['print'] = 'www.kosmetika-zdravi.kupshop.cz/';
|
||||
$cfg['Addr']['full'] = 'http://'.$cfg['Addr']['print'];
|
||||
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI FTP CESTY K ESHOPU
|
||||
* ======================================================================
|
||||
* eshop_root: cesta v FTP na serveru
|
||||
*
|
||||
* kdyz se pripoji pomoci FTP uctu na kupshop.cz, tak z rootu
|
||||
* je nasledujici cesta
|
||||
*/
|
||||
$cfg['FTP']['use_ftp'] = false;
|
||||
$cfg['FTP']['eshop_root'] = '/';
|
||||
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI CEST ESHOPU
|
||||
* ======================================================================
|
||||
*/
|
||||
// ## smarty: motiv sablon tahajici se ze sdilene slozky
|
||||
$cfg['Path']['smarty_tpl']['theme'] = 'kupkolo';
|
||||
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI JMEN TABULEK, KTERE POUZIVA ESHOP
|
||||
* ======================================================================
|
||||
*/
|
||||
$cfg['DbTablePrefix'] = '';
|
||||
$cfg['DbTable']['photos-products'] = 'photos_products_relation';
|
||||
$cfg['DbTable']['products-related'] = 'products_related';
|
||||
$cfg['DbTable']['products-favorites'] = 'products_favorites';
|
||||
$cfg['DbTable']['products-sections'] = 'products_in_sections';
|
||||
$cfg['DbTable']['photos_articles'] = 'photos_articles_relation';
|
||||
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI JAZYKA
|
||||
* ======================================================================
|
||||
*/
|
||||
$cfg['Lang']['language'] = 'cs';
|
||||
|
||||
$cfg['Order'] = [];
|
||||
// $cfg['Order']['Status'] = array();
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI OBJEDNAVEK
|
||||
* ======================================================================
|
||||
* Status: nastaveni stavu objednavek
|
||||
|
||||
*/
|
||||
$cfg['Order']['Status']['global'][0] = 'nová';
|
||||
$cfg['Order']['Status']['global'][1] = 'přenesena';
|
||||
$cfg['Order']['Status']['global'][2] = 'potvrzena';
|
||||
$cfg['Order']['Status']['global'][3] = 'vyřízena';
|
||||
|
||||
$cfg['Order']['Status']['payed'][0] = 'čeká na zaplacení';
|
||||
$cfg['Order']['Status']['payed'][1] = 'zaplaceno';
|
||||
|
||||
$cfg['Order']['Status']['dispatch'][0] = 'čeká na odeslání';
|
||||
$cfg['Order']['Status']['dispatch'][1] = 'částečně odesláno';
|
||||
$cfg['Order']['Status']['dispatch'][2] = 'odesláno';
|
||||
|
||||
$cfg['Order']['Status']['storno'][0] = 'nestornována';
|
||||
$cfg['Order']['Status']['storno'][1] = 'stornována';
|
||||
|
||||
$cfg['Order']['Status']['attach_invoice'] = [];
|
||||
|
||||
$cfg['Order']['hideCode'] = true;
|
||||
$cfg['Order']['prependProducer'] = true;
|
||||
|
||||
// Nastaveni statu
|
||||
// $cfg['Order']['Countries'] = array('Česká Republika' => 'Česká Republika', 'Slovensko'=>'Slovensko');
|
||||
|
||||
// Pridavat na konec objednanyho produktu jeho kod? Napr: Tretry (velikost:modra, kod:ab12345)
|
||||
// $cfg['Order']['hideCode'] = true;
|
||||
|
||||
// Zakazat mazani objednavky v adminu
|
||||
// $cfg['Order']['disableDelete'] = true;
|
||||
|
||||
// ## vygenerovani cisla objednavky
|
||||
// D - den, M - mesic, Y - rok, #ID - poradova cislovka, * - nahodne cislo
|
||||
// [Y,2][M][D]["-"][#ID,6]
|
||||
$cfg['Order']['number']['pattern'] = '["36"][Y,2][#USER_ID]["0"][#USER_ORDER_INDEX]';
|
||||
|
||||
// Nastaveni flagu objednavek
|
||||
$cfg['Order']['Flags'] = [
|
||||
'R' => [
|
||||
'name' => 'Nedořešené',
|
||||
],
|
||||
'H' => [
|
||||
'name' => 'Heureka',
|
||||
],
|
||||
];
|
||||
|
||||
$cfg['Currencies'] = [
|
||||
'CZK' => [
|
||||
'name' => 'Česká koruna',
|
||||
'symbol' => 'Kč',
|
||||
'price_round' => '100',
|
||||
'price_round_direction' => 'math',
|
||||
'countries' => [
|
||||
'CZ',
|
||||
],
|
||||
],
|
||||
'EUR' => [
|
||||
'name' => 'Euro',
|
||||
'symbol' => '€',
|
||||
'price_round' => '0',
|
||||
'price_round_direction' => 'math',
|
||||
'countries' => [
|
||||
'SK',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
/*
|
||||
$cfg['Currencies'] = [
|
||||
'CZK' => ['name' => 'Česká koruna',
|
||||
'symbol' => 'Kč'],
|
||||
'EUR' => ['name' => 'Euro',
|
||||
'symbol' => '€' ]
|
||||
];
|
||||
*/
|
||||
|
||||
$cfg['Factorage'] = [];
|
||||
$cfg['Factorage']['Status'] = [];
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI PROVIZI
|
||||
* ======================================================================
|
||||
* Status: nastaveni stavu provize
|
||||
*/
|
||||
$cfg['Factorage']['Status']['payed'][0] = 'neproplaceno';
|
||||
$cfg['Factorage']['Status']['payed'][1] = 'proplaceno';
|
||||
|
||||
$cfg['Products']['DeliveryTime'] = [];
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI ZBOZI V KATALOGU
|
||||
* ======================================================================
|
||||
* DeliveryTime: nastaveni doby doruceni zbozi
|
||||
*/
|
||||
$cfg['Products']['DeliveryTime']['0'] = 'skladem';
|
||||
$cfg['Products']['DeliveryTime']['-1'] = 'na cestě';
|
||||
$cfg['Products']['DeliveryTime']['-2'] = 'na objednávku';
|
||||
$cfg['Products']['DeliveryTime']['1'] = 'dodáváme do %s dnů';
|
||||
|
||||
// Zasunujici se nabidka filtru - melo by byt true kvuli rychlosti.
|
||||
$cfg['Filter']['Collapsable'] = false;
|
||||
|
||||
// Dynamicky zobrazovat pouze dostupny "flagy" u kategorie
|
||||
$cfg['Filter']['flags'] = ['C', 'R', 'N', 'Z', 'A'];
|
||||
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI OBRAZKU
|
||||
* ======================================================================
|
||||
*/
|
||||
$cfg['Photo'] = [
|
||||
'default' => [
|
||||
'crop' => false,
|
||||
'background' => 0xFFFFFF,
|
||||
'watermark' => false,
|
||||
'logo' => false,
|
||||
'png' => false,
|
||||
],
|
||||
'types' => [
|
||||
'product_large' => [
|
||||
'size' => [1024, 768],
|
||||
'crop' => false,
|
||||
'watermark' => true,
|
||||
'logo' => true,
|
||||
],
|
||||
'product_catalog' => [
|
||||
'size' => [220, 165],
|
||||
'png' => true,
|
||||
],
|
||||
'product_detail' => [
|
||||
'size' => [485, 371],
|
||||
],
|
||||
'product_gallery' => [
|
||||
'size' => [188, 118],
|
||||
// 'crop' => true,
|
||||
],
|
||||
'admin' => [
|
||||
'size' => [64, 48],
|
||||
],
|
||||
'section' => [
|
||||
'size' => [80, 80],
|
||||
],
|
||||
'producer' => [
|
||||
'size' => [120, 60],
|
||||
],
|
||||
'payment' => [
|
||||
'size' => [30, 30],
|
||||
],
|
||||
'delivery' => [
|
||||
'size' => [110, 40],
|
||||
],
|
||||
'news' => [
|
||||
'size' => [250, 250],
|
||||
],
|
||||
'top_product' => [
|
||||
'size' => [130, 110],
|
||||
],
|
||||
'news_lg' => [
|
||||
'size' => [385, 250],
|
||||
'crop' => true,
|
||||
],
|
||||
'swatch' => [
|
||||
'size' => [60, 60],
|
||||
'crop' => true,
|
||||
],
|
||||
],
|
||||
'id_to_type' => [
|
||||
0 => 'product_large',
|
||||
1 => 'product_gallery',
|
||||
2 => 'product_catalog',
|
||||
3 => 'product_detail',
|
||||
4 => 'product_gallery',
|
||||
5 => 'admin',
|
||||
6 => 'section',
|
||||
7 => 'producer',
|
||||
8 => 'payment',
|
||||
9 => 'delivery',
|
||||
10 => 'news',
|
||||
11 => 'top_product',
|
||||
12 => 'news_lg',
|
||||
13 => 'swatch',
|
||||
],
|
||||
'placeholder' => '/templates/images/no-img.png',
|
||||
'kind' => [
|
||||
'Y' => 'Hlavní',
|
||||
'N' => 'Vedlejší',
|
||||
'O' => 'Odstín',
|
||||
],
|
||||
];
|
||||
|
||||
$cfg['Menu'] = [];
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI VLASTNICH EDITOVATELNYCH MENU ESHOPU
|
||||
* ======================================================================
|
||||
* aktivni moduly.
|
||||
*
|
||||
* Pro zruseni modulu staci radku zakomentovat pomoci //
|
||||
*/
|
||||
|
||||
$cfg['Menu']['own'][1] = [
|
||||
'name' => 'Patička',
|
||||
'title' => 'Patička',
|
||||
'default' => true,
|
||||
];
|
||||
|
||||
$cfg['Menu']['own'][2] = [
|
||||
'name' => 'Menu uživatel',
|
||||
'title' => 'Menu uživatel',
|
||||
'default' => true,
|
||||
];
|
||||
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI MENU ESHOPU
|
||||
* ======================================================================
|
||||
*/
|
||||
$cfg['Menu']['main']['default'] = 'sections';
|
||||
$cfg['Menu']['sections'] = [
|
||||
'show' => true,
|
||||
'collapse' => true,
|
||||
'collapse_settings' => [
|
||||
'max_levels' => 0,
|
||||
],
|
||||
];
|
||||
$cfg['Menu']['producers'] = [
|
||||
'show' => true,
|
||||
'collapse' => false,
|
||||
];
|
||||
$cfg['Menu']['inquiry'] = [
|
||||
'show' => true,
|
||||
];
|
||||
$cfg['Menu']['index_product'] = [
|
||||
'limit' => 9,
|
||||
'photos' => 2,
|
||||
];
|
||||
$cfg['Menu']['random_product'] = [
|
||||
'show' => true,
|
||||
'limit' => 4,
|
||||
'photos' => 1,
|
||||
];
|
||||
$cfg['Menu']['bestseller_product'] = [
|
||||
'show' => true,
|
||||
'limit' => 4,
|
||||
'photos' => 1,
|
||||
];
|
||||
$cfg['Menu']['newest_product'] = [
|
||||
'show' => true,
|
||||
'limit' => 4,
|
||||
'photos' => 1,
|
||||
];
|
||||
$cfg['Menu']['cart_info'] = [
|
||||
'show' => true,
|
||||
];
|
||||
|
||||
$cfg['Menu']['last_visited'] = [
|
||||
'limit' => 6,
|
||||
'photos' => 2,
|
||||
];
|
||||
|
||||
$cfg['Menu']['related'] = [
|
||||
'limit' => 8,
|
||||
'photos' => 2,
|
||||
];
|
||||
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI ADMINISTRACE ESHOPU
|
||||
* ======================================================================
|
||||
*/
|
||||
$cfg['Admin']['Login']['User'] = '_KS_ADMIN';
|
||||
$cfg['Admin']['Login']['Password'] = 'ksadmin21';
|
||||
$cfg['Admin']['Login']['Timeout'] = (int) 7200; // 60 = 1 minuta
|
||||
$cfg['Admin']['settings'] = [
|
||||
'email' => 'helpdesk@kupshop.cz',
|
||||
'id' => 0,
|
||||
'privilege' => '',
|
||||
];
|
||||
|
||||
// # NASTAVENI SSL V ADMINISTRACI
|
||||
// zda ma byt v administraci moznost zvolit SSL pripojeni
|
||||
$cfg['Admin']['SSL']['support'] = false;
|
||||
// zda ma byt administrace automaticky presmerovana na SSL
|
||||
$cfg['Admin']['SSL']['automaticRedirection'] = false;
|
||||
|
||||
/*
|
||||
* ======================================================================
|
||||
* NASTAVENI MOD_REWRITE PRO SEO FRIENDLY ODKAZY
|
||||
* ======================================================================
|
||||
*/
|
||||
$cfg['Mod_rewrite'] = true;
|
||||
|
||||
$cfg['Products']['Flags'] = [
|
||||
'N' => ['plural' => 'Novinky', 'singular' => 'Novinka', 'url' => 'novinky', 'short' => 'N', 'order' => -4],
|
||||
'A' => ['plural' => 'Akce', 'singular' => 'Akce', 'url' => 'akce', 'short' => 'A', 'order' => -6],
|
||||
'C' => ['plural' => 'Na cestě', 'singular' => 'Na cestě', 'url' => 'na-ceste', 'short' => 'C', 'order' => -6],
|
||||
'R' => ['plural' => 'Opět skladem', 'singular' => 'Opět skladem', 'url' => 'opet-skladem', 'short' => 'R', 'order' => -6],
|
||||
'T' => ['plural' => 'Testery', 'singular' => 'Tester', 'url' => 'testery', 'short' => 'T', 'order' => -6],
|
||||
'S' => ['plural' => 'Sety', 'singular' => 'Set', 'url' => 'sety', 'short' => 'S', 'order' => -6],
|
||||
'Z' => ['plural' => 'Zlevněno', 'singular' => 'Zlevněno', 'url' => 'zlevneno', 'short' => 'Z', 'order' => -6],
|
||||
'V' => ['plural' => 'Vzorek', 'singular' => 'Vzorek', 'url' => 'vzorky', 'short' => 'V', 'order' => -6],
|
||||
'O' => ['plural' => 'Odstřik', 'singular' => 'Odstřik', 'url' => 'odstrik', 'short' => 'O', 'order' => -6],
|
||||
];
|
||||
|
||||
$cfg['Sections']['Flags'] = [
|
||||
'A' => ['plural' => 'Kategorie s akčním zbožím'],
|
||||
'L' => ['plural' => 'Pro lamy'],
|
||||
];
|
||||
|
||||
$cfg['captcha']['size'] = 40;
|
||||
|
||||
require_once dirname(__FILE__).'/../../../config_db.php';
|
||||
Reference in New Issue
Block a user