nouveau module "models" dans l'environnement
[mtweb] / mw / app / init / 0100_functions.php
index b69728d..81b6871 100644 (file)
@@ -1,10 +1,12 @@
 <?php
 
+  if(!function_exists("debug")) :
   function debug($content){
     $content = is_bool($content) ? "bool(".($content ? "true" : "false").")" : $content;
     echo PHP_SAPI == "cli" ?
       "\n".print_r($content, true)."\n"
     : "<pre class=\"debug\">".htmlentities(print_r($content, true), ENT_QUOTES, "UTF-8")."</pre>";
   }
+  endif;
 
 ?>
\ No newline at end of file