Subversion Repositories Applications.framework

Rev

Rev 180 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 180 Rev 188
Line 12... Line 12...
12
 * @author Aurelien PERONNET <aurelien@tela-botanica.org>
12
 * @author Aurelien PERONNET <aurelien@tela-botanica.org>
13
 // Autres auteurs :
13
 // Autres auteurs :
14
 * @author Jean-Pascal MILCENT <jpm@tela-botanica.org>
14
 * @author Jean-Pascal MILCENT <jpm@tela-botanica.org>
15
 * @license GPL v3 <http://www.gnu.org/licenses/gpl.txt>
15
 * @license GPL v3 <http://www.gnu.org/licenses/gpl.txt>
16
 * @license CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt>
16
 * @license CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt>
17
 * @version $$Id: autoload.inc.php 180 2010-04-26 12:18:52Z jpm $$
17
 * @version $$Id: autoload.inc.php 188 2010-04-29 12:09:17Z jpm $$
18
 * @copyright 1999-2009 Tela Botanica (accueil@tela-botanica.org)
18
 * @copyright 1999-2009 Tela Botanica (accueil@tela-botanica.org)
19
 */
19
 */
Line 20... Line 20...
20
 
20
 
21
// Redéfinition de la constante DIRECTORY_SEPARATOR
21
// Redéfinition de la constante DIRECTORY_SEPARATOR
Line 35... Line 35...
35
		return null;
35
		return null;
36
	}
36
	}
37
}
37
}
38
spl_autoload_register('autoloadFw');
38
spl_autoload_register('autoloadFw');
Line -... Line 39...
-
 
39
 
-
 
40
// Initialisation du gestionnaire d'erreur avant toute chose
-
 
41
GestionnaireException::initialiser();
39
 
42
 
40
// Autoload par défaut pour l'application
43
// Autoload par défaut pour l'application
41
function autoloadAppliDefaut($nom_classe) {
44
function autoloadAppliDefaut($nom_classe) {
42
	$dossiers_classes = array(	Config::get('chemin_controleurs'),
45
	$dossiers_classes = array(	Config::get('chemin_controleurs'),
43
								Config::get('chemin_modeles'),
46
								Config::get('chemin_modeles'),