X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=sklad.conf.php.example;h=c779f9b9cfc02795fc7944f0345e834712fc5011;hb=e9f6461f24218e72efea648c5f8c23159ca0f909;hp=64a62f2979a78cab34a907f68500d51bbb4e339e;hpb=121e44f5f3d941cb12518a59628c73902033c86a;p=mirrors%2FSokoMan.git diff --git a/sklad.conf.php.example b/sklad.conf.php.example index 64a62f2..c779f9b 100755 --- a/sklad.conf.php.example +++ b/sklad.conf.php.example @@ -5,14 +5,29 @@ define('DB_NAME', 'store'); define('DB_HOST', 'localhost'); define('DB_DSN', 'mysql:host='.DB_HOST.';dbname='.DB_NAME); -define('DIR_HOME', './'); +define('DIR_HOME', '.'); +define('DIR_LIB', DIR_HOME.'/lib'); define('DIR_IMAGES', DIR_HOME.'/images'); +define('DIR_LOCALE', DIR_HOME.'/locale'); +define('DIR_BARCODES', DIR_HOME.'/barcodes'); define('DIR_TEMPLATES', DIR_HOME.'/templates'); define('DIR_ASSISTANTS', DIR_HOME.'/assistants'); define('URL_HOME', dirname($_SERVER['SCRIPT_NAME'])); define('URL_IMAGES', URL_HOME.'/images'); +define('URL_BARCODES', URL_HOME.'/barcodes'); -$fake_lms_users = array( //You can specify multiple users in this array - DB_USER => DB_PASS +define('BACKEND_AUTH', 'internal'); +define('BACKEND_ACCOUNTING', 'internal'); + +define('LOCALE_LANG', 'en'); + +define('INSTANCE_ID', ''); + +define('BARCODE_TYPE', 'code128b'); +define('BARCODE_PREFIX', 'STORE/'); + +$internal_auth_users = array( //You can specify multiple users in this array + //'username' => array('password', 'uid','gid'), + DB_USER => array(DB_PASS, 0,0) );