cvs: smarty /libs Smarty.class.php
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1068742233@cvsserver> |
messju Thu Nov 13 11:50:33 2003 EDT
Modified files:
/smarty/libs Smarty.class.php
Log:
fix unnecessary loading of core.load_resource_plugin.php
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.454 smarty/libs/Smarty.class.php:1.455
--- smarty/libs/Smarty.class.php:1.454 Thu Nov 6 11:53:38 2003
+++ smarty/libs/Smarty.class.php Thu Nov 13 11:50:33 2003
@@ -43,7 +43,7 @@
* @version 2.6.0-RC2-cvs
*/
-/* $Id: Smarty.class.php,v 1.454 2003/11/06 16:53:38 messju Exp $ */
+/* $Id: Smarty.class.php,v 1.455 2003/11/13 16:50:33 messju Exp $ */
/**
* DIR_SEP isn't used anymore, but third party apps might
@@ -1702,7 +1702,7 @@
}
return false;
}
- } else {
+ } elseif (empty($this->_plugins['resource'][$params['resource_type']])) {
$_params = array('type' => $params['resource_type']);
require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_resource_plugin.php');
smarty_core_load_resource_plugin($_params, $this);
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php