Commit | Line | Data |
---|---|---|
cdfce7c2 | 1 | <?php |
121e44f5 TM |
2 | define('DB_USER', 'user'); |
3 | define('DB_PASS', 'pass'); | |
4 | define('DB_NAME', 'store'); | |
5 | define('DB_HOST', 'localhost'); | |
6 | define('DB_DSN', 'mysql:host='.DB_HOST.';dbname='.DB_NAME); | |
cdfce7c2 | 7 | |
5f093236 TM |
8 | define('DIR_HOME', '.'); |
9 | define('DIR_LIB', DIR_HOME.'/lib'); | |
121e44f5 | 10 | define('DIR_IMAGES', DIR_HOME.'/images'); |
ac2ed3a1 | 11 | define('DIR_LOCALE', DIR_HOME.'/locale'); |
8acef003 | 12 | define('DIR_BARCODES', DIR_HOME.'/barcodes'); |
5f093236 | 13 | define('DIR_TEMPLATES', DIR_HOME.'/templates'); |
88c38b26 | 14 | define('DIR_APIS', DIR_HOME.'/apis'); |
121e44f5 | 15 | define('DIR_ASSISTANTS', DIR_HOME.'/assistants'); |
cdfce7c2 | 16 | |
4d62adf9 | 17 | define('URL_HOME', dirname($_SERVER['SCRIPT_NAME'])); //TODO: use request_uri with path_info stripped for portability |
121e44f5 | 18 | define('URL_IMAGES', URL_HOME.'/images'); |
8acef003 TM |
19 | define('URL_BARCODES', URL_HOME.'/barcodes'); |
20 | ||
e9f6461f TM |
21 | define('BACKEND_AUTH', 'internal'); |
22 | define('BACKEND_ACCOUNTING', 'internal'); | |
23 | ||
ac2ed3a1 TM |
24 | define('LOCALE_LANG', 'en'); |
25 | ||
26 | define('INSTANCE_ID', ''); | |
27 | ||
2415a365 | 28 | define('FRONTEND_LISTING_LIMIT', 23); |
a5094502 | 29 | define('FRONTEND_PAGE_WELCOME', ''); |
2415a365 | 30 | |
8acef003 TM |
31 | define('BARCODE_TYPE', 'code128b'); |
32 | define('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 | ); |