Subversion Repositories Applications.gtt

Compare Revisions

Ignore whitespace Rev 4 → Rev 5

/trunk/gtt_config.inc.php
1,7 → 1,21
<?php
 
/*fichier de definition */
error_reporting(E_ALL);
 
// Définition des constantes
define ('GESTION_TRAVAIL',1);
define ('GESTION_ADMIN_UTILISATEUR', 13);
define ('GESTION_EDITER_UTILISATEUR',14);
define ('GESTION_ADMIN_PROJET',15);
define ('GESTION_ADMIN_CATEGORIE',16);
define ('GESTION_ADMIN_MOTIF_ABSENCE',17);
define ('GESTION_ADMIN_STATUT',18);
define ('GESTION_ADMIN_FRAIS',19);
define ('GESTION_ADMIN_TACHE',20);
define ('GESTION_EDITER_PREFERENCES',21);
define ('GESTION_DECONNEXION',22);
 
//==================================== CHEMINS ==================================
/* definition des chemins d'acces
//==================================================================================
16,7 → 30,6
define("CHEMIN_MENU",CHEMIN.'menu/');
define("CHEMIN_CONTROLEUR",CHEMIN.'controleur/');
 
 
/**
//==================================== CONSTANTES ==================================
/* definition des constantes de plusieurs tests et divers
23,21 → 36,20
//==================================================================================
*/
//$GLOBALS['dsn']="mysql://shaheen:shaheen@162.38.234.6/gestion_test_v3";
$GLOBALS['dsn']="mysql://shaheen:shaheen@localhost/gestion_test_v3";
$GLOBALS['urlBase']="http://test.tela-botanica.org/gestion/index.php?action=";
$GLOBALS['dsn'] = 'mysql://root:0000@localhost/gestion';
$GLOBALS['urlBase'] = 'http://localhost/gestion/index.php?action=';
//on suppose que le nombre d'heure maximum par jour de travail est 23
$GLOBALS['limiteJourTravail']=24;
$GLOBALS['limiteJourTravail'] = 24;
//on suppose que le nombre d'heure maximumde par jour de recuperation partielle est 11
$GLOBALS['limiteJourRecupPart']=12;
$GLOBALS['limiteJourRecupPart'] = 12;
/**
//==================================== CONSTANTES ==================================
/* definition des constantes de nom de table et de leurs champs
//==================================================================================
*/
 
//******************utilisateur***********************//
define ("GEST_UTILISATEUR", "gestion_utilisateur");
define ("GEST_CHAMPS_ID_UTILISATEUR","gu_id_utilisateur");
define ("GEST_CHAMPS_ID_UTILISATEUR","gp_id_utilisateur");
define("GEST_CHAMPS_NOM","gu_nom");
define("GEST_CHAMPS_PRENOM", "gu_prenom");
define("GEST_CHAMPS_PASSWORD","gu_password");