Subversion Repositories Applications.referentiel

Rev

Rev 59 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59 Rev 65
1
<?php
1
<?php
2
// Encodage : UTF-8
2
// Encodage : UTF-8
3
// +-------------------------------------------------------------------------------------------------------------------+
3
// +-------------------------------------------------------------------------------------------------------------------+
4
/**
4
/**
5
* Script configuration
5
* Script configuration
6
*
6
*
7
* Description : permet de configurer le lancement des scripts. Le contenu de ce fichier ne devrait pas nécessité de 
7
* Description : permet de configurer le lancement des scripts. Le contenu de ce fichier ne devrait pas nécessité de 
8
* modification dans la plupart des installations...
8
* modification dans la plupart des installations...
9
*
9
*
10
//Auteur original :
10
//Auteur original :
11
* @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
11
* @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
12
* @copyright	Tela-Botanica 1999-2008
12
* @copyright	Tela-Botanica 1999-2008
13
* @licence		GPL v3 & CeCILL v2
13
* @licence		GPL v3 & CeCILL v2
14
* @version		$Id$
14
* @version		$Id$
15
*/
15
*/
16
// +-------------------------------------------------------------------------------------------------------------------+
16
// +-------------------------------------------------------------------------------------------------------------------+
17
// Gestion de la mémoire maximum allouée aux scripts
17
// Gestion de la mémoire maximum allouée aux scripts
18
ini_set('memory_limit', 1073741824);//128Mo = 134217728 ; 256Mo = 268435456 ; 512Mo = 536870912 ; 1Go = 1073741824
18
ini_set('memory_limit', 2147483648);//128Mo = 134217728 ; 256Mo = 268435456 ; 512Mo = 536870912 ; 1Go = 1073741824; 2Go = 2147483648
19
// Gestion des erreurs
19
// Gestion des erreurs
20
error_reporting(E_ALL);
20
error_reporting(E_ALL);
21
 
21
 
22
// Gestion des chemins
22
// Gestion des chemins
23
define('DS', DIRECTORY_SEPARATOR);
23
define('DS', DIRECTORY_SEPARATOR);
24
define('ES_CHEMIN_APPLI', dirname(__FILE__).DS);
24
define('ES_CHEMIN_APPLI', dirname(__FILE__).DS);
25
define('ES_CHEMIN_CONFIG', ES_CHEMIN_APPLI.'configurations'.DS);
25
define('ES_CHEMIN_CONFIG', ES_CHEMIN_APPLI.'configurations'.DS);
26
define('ES_CHEMIN_MODULE', ES_CHEMIN_APPLI.'modules'.DS);
26
define('ES_CHEMIN_MODULE', ES_CHEMIN_APPLI.'modules'.DS);
27
define('ES_CHEMIN_PEAR', '/opt/lampp/lib/php/');
27
define('ES_CHEMIN_PEAR', '/opt/lampp/lib/php/');
28
 
28
 
29
// Chargement de base pour l'autoload
29
// Chargement de base pour l'autoload
30
$GLOBALS['chemins_autoload'] = array(
30
$GLOBALS['chemins_autoload'] = array(
31
	dirname(realpath(__FILE__)).DS.'bibliotheque'.DS,
31
	dirname(realpath(__FILE__)).DS.'bibliotheque'.DS,
32
	dirname(realpath(__FILE__)).DS.'..'.DS.'bibliotheque'.DS.'dao'.DS,
32
	dirname(realpath(__FILE__)).DS.'..'.DS.'bibliotheque'.DS.'dao'.DS,
33
	dirname(realpath(__FILE__)).DS.'..'.DS.'bibliotheque'.DS.'utilitaires'.DS
33
	dirname(realpath(__FILE__)).DS.'..'.DS.'bibliotheque'.DS.'utilitaires'.DS
34
	);
34
	);
35
?>
35
?>