cvs: smarty /libs Smarty.class.php
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1062671415@cvsserver> |
messju Thu Sep 4 06:30:15 2003 EDT
Modified files:
/smarty/libs Smarty.class.php
Log:
proper checking for files in _fetch_resource_info()
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.442 smarty/libs/Smarty.class.php:1.443
--- smarty/libs/Smarty.class.php:1.442 Mon Sep 1 14:42:12 2003
+++ smarty/libs/Smarty.class.php Thu Sep 4 06:30:13 2003
@@ -43,7 +43,7 @@
* @version 2.6.0-RC1-cvs
*/
-/* $Id: Smarty.class.php,v 1.442 2003/09/01 18:42:12 messju Exp $ */
+/* $Id: Smarty.class.php,v 1.443 2003/09/04 10:30:13 messju Exp $ */
/**
* DIR_SEP isn't used anymore, but third party apps might
@@ -1642,7 +1642,7 @@
$params['source_content'] = $this->_read_file($_resource_name);
}
$params['resource_timestamp'] = filemtime($_resource_name);
- $_return = true;
+ $_return = is_file($_resource_name);
break;
default:
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php