cvs: smarty /libs Smarty.class.php

From: Date: Mon, 28 Apr 2003 01:33:17 +0000
Subject: cvs: smarty /libs Smarty.class.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-571@lists.php.net to get a copy of this message
messju Sun Apr 27 21:33:17 2003 EDT Modified files: /smarty/libs Smarty.class.php Log: made $function[2] and $function[3] options for register_resource Index: smarty/libs/Smarty.class.php diff -u smarty/libs/Smarty.class.php:1.386 smarty/libs/Smarty.class.php:1.387 --- smarty/libs/Smarty.class.php:1.386 Sun Apr 27 20:55:01 2003 +++ smarty/libs/Smarty.class.php Sun Apr 27 21:33:17 2003 @@ -42,7 +42,7 @@ * @version 2.5.0 */ -/* $Id: Smarty.class.php,v 1.386 2003/04/28 00:55:01 messju Exp $ */ +/* $Id: Smarty.class.php,v 1.387 2003/04/28 01:33:17 messju Exp $ */ /** * set SMARTY_DIR to absolute path to Smarty library files. @@ -798,7 +798,7 @@ */ function register_resource($type, $functions) { - if (sizeof($functions)==4) { + if (sizeof($functions)<5) { $this->_plugins['resource'][$type] = array($functions, false);

« previous php.smarty.cvs (#571) next »