Rev 228 | Rev 277 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php$temps_debut = microtime(true);// Encodage : UTF-8// +-------------------------------------------------------------------------------------------------------------------+/*** Serveur** Description : initialise le chargement et l'exécution des services web.*//Auteur original :* @author Jean-Pascal MILCENT <jpm@tela-botanica.org>* @copyright Tela-Botanica 1999-2008* @licence GPL v3 & CeCILL v2* @version $Id$*/// +-------------------------------------------------------------------------------------------------------------------+// Le fichier autoload.inc.php du Framework de Tela Botanica doit être appelée avant tout autre chose dans l'application.// Sinon, rien ne sera chargé.// Chemin du fichier chargeant le framework requis$framework = dirname(__FILE__).DIRECTORY_SEPARATOR.'framework.php';if (!file_exists($framework)) {$e = "Veuillez paramétrer l'emplacement et la version du Framework dans le fichier $framework";trigger_error($e, E_USER_ERROR);} else {// Inclusion du Frameworkrequire_once $framework;// Ajout d'information concernant cette applicationFramework::setCheminAppli(__FILE__);// ObligatoireFramework::setInfoAppli(Config::get('info'));// Initialisation et lancement du serveur$Serveur = new Serveur();$Serveur->executer();$temps_fin = microtime(true);echo 'Temps d\'execution : '.round($temps_fin - $temps_debut, 4);}?>