-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
52 lines (51 loc) · 3.7 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
/**
* QRcdr - php QR Code generator
* config.php
*
* Main configuration settings
*
* PHP version 5.4+
*
*/
$_CONFIG = array(
'lang' => 'en', // main language
'qrcodes_dir' => 'qrcodes', // qr codes directory
'delete_old_files' => true, // delete periodically old files
'file_lifetime' => 1, // delete files older than..(hours) from /qrcodes_dir/
'uploader' => true, // let users upload their own logo
'qr_bgcolor' => '#FFFFFF', // default background color for generated qrcodes
'qr_color' => '#000000', // default foreground color for generated qrcodes
'session_name' => 'qrSession', // custom session name for the script || false
'placeholder' => 'images/placeholder.svg', // default placeholder
'link' => true, // activate link tab
'text' => true, // activate text tab
'email' => true, // activate email tab
'location' => true, // activate location tab
'tel' => true, // activate telephone tab
'sms' => true, // activate sms tab
'whatsapp' => true, // activate whatsapp tab
'skype' => true, // activate Skype tab
'zoom' => true, // activate Zoom tab
'wifi' => true, // activate wifi tab
'vcard' => true, // activate v-card tab
'event' => true, // activate event tab
'paypal' => true, // activate PayPal tab
'bitcoin' => true, // activate BitCoin tab
'default_tab' => '#link', // available options: #link | #text | #email | #location | #tel | #sms | #whatsapp | #skype | #zoom | #wifi | #vcard | #event | #paypal | #bitcoin
'detect_browser_lang' => false, // detect browser language
'google_api_key' => 'YOUR-API-KEY', // https://developers.google.com/maps/documentation/javascript/get-api-key#get-an-api-key
'lat' => '40.7127837', // Initial latitude for the location map
'lng' => '-74.00594130000002', // Initial longitude for the location map
'color_primary' => false, // main color, used for buttons and header background. set a #hex color or false to get random colors
'layout' => 'classic', // main layout: 'classic' || 'vertical'
'sidebar' => 'right', // sidebar position: 'right' || 'left'
'accordion' => true, // Collapse options menu: true || false
'rounded_buttons' => '["tabnav", "options", "save"]', // Selective rounded buttons: '["tabnav", "options", "save"]' || false
'precision' => 'Q', // available: L, M, Q, H
'relative_path' => '', // use this option if you place the main index.php in different location, this must be the path of the main qrcdr directory, relative to the index
'default_size' => '700', // default size of the final QRcode. available values: '200', '300', '400', '500', '600', '700', '800'
'brand_logo' => false, // set true to force the first image of /images/watermarks/ as default logo
'options' => ['colors', 'design', 'logo', 'frame', 'options'], // available options ['colors', 'design', 'logo', 'frame', 'options']
'debug_mode' => false, // set true to track errors
);