cvs: smarty /libs Smarty.class.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1061378597@cvsserver>
messju		Wed Aug 20 07:23:17 2003 EDT

  Modified files:              
    /smarty/libs	Smarty.class.php 
  Log:
  made template_exists() quiet when the template does not exist (thanks
  to konstatin for pointing this out)
  
  
  
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.440 smarty/libs/Smarty.class.php:1.441
--- smarty/libs/Smarty.class.php:1.440	Mon Aug 18 06:17:28 2003
+++ smarty/libs/Smarty.class.php	Wed Aug 20 07:23:17 2003
@@ -43,7 +43,7 @@
  * @version 2.6.0-RC1-cvs
  */
 
-/* $Id: Smarty.class.php,v 1.440 2003/08/18 10:17:28 messju Exp $ */
+/* $Id: Smarty.class.php,v 1.441 2003/08/20 11:23:17 messju Exp $ */
 
 /**
  * DIR_SEP isn't used anymore, but third party apps might
@@ -1108,7 +1108,7 @@
      */    
     function template_exists($tpl_file)
     {
-		$_params = array('resource_name' => $tpl_file, 'get_source'=>false);
+		$_params = array('resource_name' => $tpl_file, 'quiet'=>true, 'get_source'=>false);
         return $this->_fetch_resource_info($_params);
     }
 



-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.