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'); |
121e44f5 | 14 | define('DIR_ASSISTANTS', DIR_HOME.'/assistants'); |
cdfce7c2 | 15 | |
121e44f5 TM |
16 | define('URL_HOME', dirname($_SERVER['SCRIPT_NAME'])); |
17 | define('URL_IMAGES', URL_HOME.'/images'); | |
8acef003 TM |
18 | define('URL_BARCODES', URL_HOME.'/barcodes'); |
19 | ||
e9f6461f TM |
20 | define('BACKEND_AUTH', 'internal'); |
21 | define('BACKEND_ACCOUNTING', 'internal'); | |
22 | ||
ac2ed3a1 TM |
23 | define('LOCALE_LANG', 'en'); |
24 | ||
25 | define('INSTANCE_ID', ''); | |
26 | ||
2415a365 TM |
27 | define('FRONTEND_LISTING_LIMIT', 23); |
28 | ||
8acef003 TM |
29 | define('BARCODE_TYPE', 'code128b'); |
30 | define('BARCODE_PREFIX', 'STORE/'); | |
cdfce7c2 | 31 | |
e9f6461f TM |
32 | $internal_auth_users = array( //You can specify multiple users in this array |
33 | //'username' => array('password', 'uid','gid'), | |
34 | DB_USER => array(DB_PASS, 0,0) | |
cdfce7c2 | 35 | ); |