| Line 5... |
Line 5... |
| 5 |
* Initialise le chargement et l'exécution des scripts
|
5 |
* Initialise le chargement et l'exécution des scripts
|
| 6 |
*
|
6 |
*
|
| 7 |
* Lancer ce fichier en ligne de commande avec :
|
7 |
* Lancer ce fichier en ligne de commande avec :
|
| 8 |
* <code>/opt/lampp/bin/php cli.php mon_script -a test</code>
|
8 |
* <code>/opt/lampp/bin/php cli.php mon_script -a test</code>
|
| 9 |
*
|
9 |
*
|
| 10 |
//Auteur original :
|
10 |
* @category CEL
|
| - |
|
11 |
* @package Scripts
|
| - |
|
12 |
* @author Mathias CHOUET <mathias@tela-botanica.org>
|
| 11 |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
13 |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
| 12 |
* @author Delphine CAUQUIL <delphine@tela-botanica.org>
|
14 |
* @author Aurelien PERONNET <aurelien@tela-botanica.org>
|
| 13 |
* @copyright Tela-Botanica 1999-2008
|
15 |
* @license GPL v3 <http://www.gnu.org/licenses/gpl.txt>
|
| 14 |
* @licence GPL v3 & CeCILL v2
|
16 |
* @license CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt>
|
| 15 |
* @version $Id$
|
17 |
* @copyright 1999-2014 Tela Botanica <accueil@tela-botanica.org>
|
| 16 |
*/
|
18 |
*/
|
| 17 |
// +-------------------------------------------------------------------------------------------------------------------+
|
- |
|
| Line 18... |
Line 19... |
| 18 |
|
19 |
|
| 19 |
// Le fichier Framework.php du Framework de Tela Botanica doit être appelée avant tout autre chose dans l'application.
|
20 |
// Le fichier Framework.php du Framework de Tela Botanica doit être appelée avant tout autre chose dans l'application.
|
| 20 |
// Sinon, rien ne sera chargé.
|
21 |
// Sinon, rien ne sera chargé.
|
| 21 |
// Chemin du fichier chargeant le framework requis
|
22 |
// Chemin du fichier chargeant le framework requis
|
| Line 31... |
Line 32... |
| 31 |
Framework::setCheminAppli(__FILE__);// Obligatoire
|
32 |
Framework::setCheminAppli(__FILE__);// Obligatoire
|
| 32 |
Framework::setInfoAppli(Config::get('info'));
|
33 |
Framework::setInfoAppli(Config::get('info'));
|
| Line 33... |
Line 34... |
| 33 |
|
34 |
|
| 34 |
// Initialisation et lancement du script appelé en ligne de commande
|
35 |
// Initialisation et lancement du script appelé en ligne de commande
|
| 35 |
Cli::executer();
|
- |
|
| 36 |
}
|
- |
|
| 37 |
?>
|
36 |
Cli::executer();
|
| - |
|
37 |
}
|
| 38 |
|
38 |
|