Subversion Repositories Applications.framework

Rev

Rev 477 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 477 Rev 479
Line 12... Line 12...
12
 * @author		Delphine CAUQUIL <delphine@tela-botanica.org>
12
 * @author		Delphine CAUQUIL <delphine@tela-botanica.org>
13
 * @copyright	Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)
13
 * @copyright	Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)
14
 * @license	http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
14
 * @license	http://www.gnu.org/licenses/gpl.html Licence GNU-GPL-v3
15
 * @license	http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
15
 * @license	http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL-v2
16
 * @since 		0.3
16
 * @since 		0.3
17
 * @version	$Id: Cli.php 477 2014-03-25 10:39:28Z jpm $
17
 * @version	$Id: Cli.php 479 2014-03-26 13:23:31Z jpm $
18
 * @link		/doc/framework/
18
 * @link		/doc/framework/
19
 */
19
 */
Line 20... Line 20...
20
 
20
 
Line 58... Line 58...
58
 
58
 
59
	private static function charger($script_nom_original, $parametres) {
59
	private static function charger($script_nom_original, $parametres) {
60
		$Script = null;
60
		$Script = null;
Line 61... Line -...
61
		Config::verifierPresenceParametres(self::$parametres_obligatoires);
-
 
62
 
61
		Config::verifierPresenceParametres(self::$parametres_obligatoires);
63
 
62
 
64
		if (strpos($script_nom_original, DS)) {
63
		if (strpos($script_nom_original, DS)) {
65
			$decompoScriptNom = explode(DS, $script_nom_original);
64
			$decompoScriptNom = explode(DS, $script_nom_original);
66
			$script_nom = array_pop($decompoScriptNom);
65
			$script_nom = array_pop($decompoScriptNom);
67
			$dossier_nom = implode(DS, $decompoScriptNom);
66
			$dossier_nom = implode(DS, $decompoScriptNom);
-
 
67
		} else {
68
		} else {
68
			$dossier_nom = strtolower($script_nom_original);
Line 69... Line 69...
69
			$dossier_nom = strtolower($script_nom_original);
69
			$script_nom = $script_nom_original;
70
		}
70
		}