Subversion Repositories Applications.framework

Rev

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

Rev 153 Rev 167
Line 12... Line 12...
12
 // Auteur principal :
12
 // Auteur principal :
13
 * @author Jean-Pascal MILCENT <jpm@tela-botanica.org>
13
 * @author Jean-Pascal MILCENT <jpm@tela-botanica.org>
14
 // Autres auteurs :
14
 // Autres auteurs :
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: Debug.php 153 2010-03-04 10:48:32Z jpm $$
17
 * @version $$Id: Debug.php 167 2010-03-19 17:12:08Z jpm $$
18
 * @copyright 1999-2009 Tela Botanica (accueil@tela-botanica.org)
18
 * @copyright 1999-2009 Tela Botanica (accueil@tela-botanica.org)
19
 */
19
 */
20
class Debug {
20
class Debug {
Line 21... Line 21...
21
 
21
 
Line 83... Line 83...
83
 
83
 
84
		// Traitement de la sortie
84
		// Traitement de la sortie
Line 85... Line 85...
85
		$sortie = self::traiterSortieSuivantMode($mot_cle, $sortie);
85
		$sortie = self::traiterSortieSuivantMode($mot_cle, $sortie);
-
 
86
 
86
 
87
		// Affichage et/ou retour
87
		// Affichage et/ou retour
88
		if (Config::get('fw_debogage') == true) {
88
		if ($echo) {
89
			if ($echo) {
89
			echo $sortie;
90
				echo $sortie;
90
			return null;
91
				return null;
-
 
92
			} else {
91
		} else {
93
				return $sortie;
92
			return $sortie;
94
			}
Line 93... Line 95...
93
		}
95
		}
94
	}
96
	}