Monte: fetch() inherits configs
| From: | Norbert Röcher | Date: | Thu, 16 May 2002 23:37:09 +0000 |
| Subject: | Monte: fetch() inherits configs | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-88@lists.php.net to get a copy of this message | ||
Since I can't see a reason against this change, how about implementing
this to smarty.class.php:
In function fetch() change
----------snipp---------------
/* Initialize config array. */
$this->_config = array(array('vars' => array(),
----------snipp---------------
to this
----------snipp---------------
/* Initialize config array. */
if (!isset ($this->_config)){
$this->_config = array(array('vars' => array(),
'files' => array()));
}
----------snipp---------------
Would be great. Man i'm so damn happy to have this problem solved.
:-)) Once again a big THANK YOU!
Regards,
Norbert