-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.php
45 lines (34 loc) · 1.33 KB
/
global.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
<?php
require_once("libs/CMySQL.php");
/*
* DEFINE PATH of DocumentRoot
*/
include_once("nocommit/localdata.php");
$path = getIndexPath();
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
include_once("libs/CObjetBdd.php");
/*
* DEFINE CONSTANT
*/
define ("MAXSIZE_VILLE", 12);
define ("DATE_DELIMITER", ':');
define ("EXPIRATION_DATE", 5);
define ("PERCENT_PRICE",0.05);
/*
* DEFINE TITLE
*/
$title['']="Waybus, professionnels de la relation entre transporteurs, autocaristes et voyageurs";
$title['faq']="Questions fréquentes ( FAQ )";
$title['demonstration']="Démonstration du site (Necessite Macromedia Flash® )";
$title['reglementation']="Réglementation en vigueur";
$title['commentcamarche']="Comment le site fonctionne";
$title['consulterannonce']="Consulter les annonces pour les transporteurs / autocaristes";
$title['inscriptionclient']="Inscription en tant que voyageur";
$title['inscriptiontransport']="Inscription en tant que transporteur / autocariste";
$title['perteidentifiant']="Renvoyez de nouveaux identifiants de connexion";
$mysql = new CMySQL("localhost","chartercar","passbdd");
$mysql->connect();
$mysql->selectDB("chartercar");
$GLOBALS['mysql']=$mysql;
//$GLOBALS['url_server']='http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
?>