mmainstreet /
jodel-web
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | ;<?php |
||
| 2 | ;die(); |
||
|
0 ignored issues
–
show
|
|||
| 3 | ;/* |
||
| 4 | ;Config your Database |
||
| 5 | [database] |
||
| 6 | host = localhost |
||
| 7 | username = root |
||
| 8 | password = password |
||
| 9 | dbname = jodel-web |
||
| 10 | |||
| 11 | ;Set your admin password. You can reach admin area by /admin.php?pw=YOUR_PASSWORD |
||
| 12 | [admin.php] |
||
| 13 | pw = password |
||
| 14 | |||
| 15 | [Core] |
||
| 16 | ;Set a deviceUid to use for bots. Otherwise every visit from google-bot will create a new jodel-account |
||
| 17 | ;just pick a free device_uid from your db |
||
| 18 | botDeviceUid = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
||
| 19 | karmaDeviceUid = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
||
| 20 | Url = https://www.mySite.com/ |
||
| 21 | ;Get a Google Maps Geocoding API Key |
||
| 22 | geocodingToken = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
||
| 23 | |||
| 24 | [Voting] |
||
| 25 | ;standard values for the delayed voting |
||
| 26 | minInterval = 1 |
||
| 27 | maxInterval = 6 |
||
| 28 | |||
| 29 | ;you need to set up a working .htaccess File for this |
||
| 30 | useNiceUrls = FALSE |
||
| 31 | |||
| 32 | ;You can find the coordinates with Google Maps |
||
| 33 | default_location = Berlin |
||
| 34 | default_lat = 52.520006 |
||
| 35 | default_lng = 13.404954 |
||
| 36 | ;*/ |
Let’s take a look at an example: