Example #1
0
 static function br()
 {
     if (!Config::isDevMode()) {
         return '<br />';
     }
     return "<br />\n";
 }
 function useCache($cacheId = '', $cacheTime = 3600)
 {
     if (Config::isDevMode()) {
         return false;
     }
     $this->compile_check = false;
     $this->caching = 2;
     //1 duree de cache / fichier
     $this->cache_lifetime = $cacheTime;
     $this->cacheId = $cacheId;
     $this->refreshCacheDir();
     return true;
 }