Completed
Push — master ( 62cb27...c16962 )
by mains
03:25
created

config/config-sample.ini.php (1 issue)

Upgrade to new PHP Analysis Engine

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
It is generally recommended to place each PHP statement on a line by itself.

Let’s take a look at an example:

// Bad
$a = 5; $b = 6; $c = 7;

// Good
$a = 5;
$b = 6;
$c = 7;
Loading history...
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
;*/