'eng', 'iso2' => 'en'); # path settings const PATH_ABSOLUTE = '~pathabsolute~'; const PATH_SYSTEMOUT = PATH_ABSOLUTE.'/systemout'; const PATH_STORAGE = PATH_ABSOLUTE.'/storage'; const PATH_WEB_STORAGE = 'storage'; const LOGFILE = PATH_SYSTEMOUT.'/bibliotheca.log'; # database config const DB_HOST = '~dbhost~'; const DB_USERNAME = '~dbuser~'; const DB_PASSWORD = '~dbpassword~'; const DB_NAME = '~dbname~'; const DB_PREFIX = '~dbprefix~'; # a _ is added automatically as separation ## theme support # available values are: default, 98, compact # fallback is default theme const UI_THEME = 'default'; # additional config for each theme with fallback const UI_THEME_CONFIG = array( 'default' => array( 'coverImageMaxWidth' => 260 // in pixel. Supports image/jpeg, image/png, image/webp ), '98' => array( 'coverImageMaxWidth' => 500 // in pixel. Supports image/jpeg, image/png, image/webp ) ); # session const SESSION_LIFETIME = 43200; // 8 hours const SESSION_NAME = "bibliotheca-session"; const SESSION_SAVE_PATH = PATH_SYSTEMOUT.'/session'; # usersettings const ADMIN_GROUP_ID = '1'; const ANON_USER_ID = '2'; const ANON_GROUP_ID = '3'; # view options const RESULTS_PER_PAGE = 24; # CURL browser settings const BROWSER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0'; const BROWSER_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'; const BROWSER_ACCEPT_LANG = 'en-US,en;q=0.5';