Subversion Repositories Applications.referentiel

Rev

Rev 59 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php
// Encodage : UTF-8
// +-------------------------------------------------------------------------------------------------------------------+
/**
* Script configuration
*
* Description : permet de configurer le lancement des scripts. Le contenu de ce fichier ne devrait pas nécessité de 
* modification dans la plupart des installations...
*
//Auteur original :
* @author               Jean-Pascal MILCENT <jpm@tela-botanica.org>
* @copyright    Tela-Botanica 1999-2008
* @licence              GPL v3 & CeCILL v2
* @version              $Id$
*/
// +-------------------------------------------------------------------------------------------------------------------+
// Gestion de la mémoire maximum allouée aux scripts
ini_set('memory_limit', 2147483648);//128Mo = 134217728 ; 256Mo = 268435456 ; 512Mo = 536870912 ; 1Go = 1073741824; 2Go = 2147483648
// Gestion des erreurs
error_reporting(E_ALL);

// Gestion des chemins
define('DS', DIRECTORY_SEPARATOR);
define('ES_CHEMIN_APPLI', dirname(__FILE__).DS);
define('ES_CHEMIN_CONFIG', ES_CHEMIN_APPLI.'configurations'.DS);
define('ES_CHEMIN_MODULE', ES_CHEMIN_APPLI.'modules'.DS);
define('ES_CHEMIN_PEAR', '/opt/lampp/lib/php/');

// Chargement de base pour l'autoload
$GLOBALS['chemins_autoload'] = array(
        dirname(realpath(__FILE__)).DS.'bibliotheque'.DS,
        dirname(realpath(__FILE__)).DS.'..'.DS.'bibliotheque'.DS.'dao'.DS,
        dirname(realpath(__FILE__)).DS.'..'.DS.'bibliotheque'.DS.'utilitaires'.DS
        );
?>