-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
70 lines (38 loc) · 1.72 KB
/
index.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
include("include/all.php");
load_model("singletons");
load_model("rapporteur");
load_model("rapporteurPDO");
Cookie::setConfigFile("key",4096,"saveError");
Cookie::httponly();
$mvc->state("index","index","index");
$mvc->state("root","root","root");
$mvc->state("connectionAction","connectionAction");
$mvc->state("inscriptionAction","inscriptionAction");
$mvc->state("inscription","inscription","inscription");
$mvc->state("connexionRapporteur","connexionRapporteur");
$mvc->state("changePassword","changePassword","changePassword");
$mvc->state("changePasswordAction","changePasswordAction");
$mvc->state("deleteRapporteur","deleteRapporteur");
$mvc->state("disconnect","disconnect");
$mvc->state("addDossier","addDossier","addDossier");
$mvc->state("addDossierAction","addDossierAction");
$mvc->state("admin","admin","admin");
$mvc->state("rapporteur","rapporteur","rapporteur");
$mvc->state("adminAction","adminAction");
$mvc->state("account","account","account");
$mvc->state("forgetpass","forgetpass","forgetpass");
$mvc->state("note","note","note");
$mvc->state("noteAction","noteAction");
$mvc->state("vote","vote","vote");
$mvc->state("voteAction","voteAction");
$mvc->state("resultat","resultat","resultat");
$mvc->state("tourAdminAction","tourAdminAction");
$mvc->state("displayTime","displayTime","displayTime");
$mvc->state("applyVotes","applyVotes");
$mvc->state("finishVote","finishVote");
$mvc->state("forgetpass2","forgetpass2");
$mvc->state("forgetpass3","forgetpass3");
$mvc->state("resetPassword","resetPassword");
$mvc->dstate("error404","error404");
$mvc->start();