-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.php.default
50 lines (45 loc) · 1.55 KB
/
settings.php.default
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
<?php
/* init */
session_start();
require_once('info.php');
/* Prod information */
$BASE_URL = 'http://summerlove.ahouhpuc.fr';
/* MySQL */
$SQL_HOST = 'localhost';
$SQL_USER = '<INSERT SQL USER HERE>';
$SQL_PASSWD = '<INSERT SQL PASSWORD HERE>';
$SQL_DATABASE = '<INSERT DATABASE NAME HERE>';
$sldb = mysqli_connect($SQL_HOST, $SQL_USER, $SQL_PASSWD, $SQL_DATABASE);
if ($sldb == NULL) {
die('Erreur de connexion (' . mysqli_connect_errno() . ') '
. mysqli_connect_error());
}
/* Manage permissions */
$PERM_READ = 'read';
$PERM_WRITE = 'write';
$PERM_ALL = 'all';
/* PUCk Up information */
$LEVELS = Array(0 => "Débutant", 1 => 'DR / D3 ou ~1-2 ans', 2 => 'D2 ou ~3-4 ans', 3 => 'D1 ou 4 ans et plus', 4 => 'International et/ou Star');
$MAX_PLAYERS = 160;
$MAX_TEAMS = 8;
$TEAM_COLORS = Array(
Array('non définie', 'NULL'),
Array("rouge", "#FF3366"),
Array("jaune", "#FFFF99"),
Array("bleue", "#A3C2FF"),
Array('orange', 'orange'),
Array("verte", "rgb(151, 223, 151)"),
Array("blanche", "#F8F8F8"),
Array('violette', 'purple'),
Array("noire", "black")
);
$ANNEE = 2019;
$DATES = [
1=>'04/07',
2=>'11/07',
3=>'18/07',
4=>'25/07',
5=>'01/08',
6=>'08/08',
7=>'15/08'
];