zapujceny HW
[mirrors/SokoMan.git] / sklad.conf.php.example
CommitLineData
cdfce7c2 1<?php
121e44f5
TM
2define('DB_USER', 'user');
3define('DB_PASS', 'pass');
4define('DB_NAME', 'store');
5define('DB_HOST', 'localhost');
6define('DB_DSN', 'mysql:host='.DB_HOST.';dbname='.DB_NAME);
cdfce7c2 7
5f093236
TM
8define('DIR_HOME', '.');
9define('DIR_LIB', DIR_HOME.'/lib');
121e44f5 10define('DIR_IMAGES', DIR_HOME.'/images');
ac2ed3a1 11define('DIR_LOCALE', DIR_HOME.'/locale');
8acef003 12define('DIR_BARCODES', DIR_HOME.'/barcodes');
5f093236 13define('DIR_TEMPLATES', DIR_HOME.'/templates');
88c38b26 14define('DIR_APIS', DIR_HOME.'/apis');
121e44f5 15define('DIR_ASSISTANTS', DIR_HOME.'/assistants');
cdfce7c2 16
4d62adf9 17define('URL_HOME', dirname($_SERVER['SCRIPT_NAME'])); //TODO: use request_uri with path_info stripped for portability
121e44f5 18define('URL_IMAGES', URL_HOME.'/images');
8acef003
TM
19define('URL_BARCODES', URL_HOME.'/barcodes');
20
e9f6461f
TM
21define('BACKEND_AUTH', 'internal');
22define('BACKEND_ACCOUNTING', 'internal');
23
ac2ed3a1
TM
24define('LOCALE_LANG', 'en');
25
26define('INSTANCE_ID', '');
27
2415a365 28define('FRONTEND_LISTING_LIMIT', 23);
a5094502 29define('FRONTEND_PAGE_WELCOME', '');
2415a365 30
8acef003
TM
31define('BARCODE_TYPE', 'code128b');
32define('BARCODE_PREFIX', 'STORE/');
cdfce7c2 33
e9f6461f
TM
34$internal_auth_users = array( //You can specify multiple users in this array
35 //'username' => array('password', 'uid','gid'),
36 DB_USER => array(DB_PASS, 0,0)
cdfce7c2 37);
This page took 0.241207 seconds and 4 git commands to generate.