cvs: smarty / NEWS /libs/plugins function.config_load.php
"Monte Ohrt" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmohrt1071239922@cvsserver> |
mohrt Fri Dec 12 09:38:42 2003 EDT
Modified files:
/smarty NEWS
/smarty/libs/plugins function.config_load.php
Log:
fix config_load filepath bug
Index: smarty/NEWS
diff -u smarty/NEWS:1.415 smarty/NEWS:1.416
--- smarty/NEWS:1.415 Thu Dec 11 14:39:01 2003
+++ smarty/NEWS Fri Dec 12 09:38:41 2003
@@ -1,3 +1,4 @@
+ - fix config_file path bug (Marc Cabadas, Monte)
- fix 'is even by' and 'is odd by' logic (Monte)
- add day_empty, month_empty, year_empty and all_empty attributes to
html_select_date (messju)
Index: smarty/libs/plugins/function.config_load.php
diff -u smarty/libs/plugins/function.config_load.php:1.17 smarty/libs/plugins/function.config_load.php:1.18
--- smarty/libs/plugins/function.config_load.php:1.17 Fri Nov 28 21:15:41 2003
+++ smarty/libs/plugins/function.config_load.php Fri Dec 12 09:38:42 2003
@@ -81,7 +81,7 @@
$smarty->_conf_obj->booleanize = $smarty->config_booleanize;
$smarty->_conf_obj->read_hidden = $smarty->config_read_hidden;
$smarty->_conf_obj->fix_newlines = $smarty->config_fix_newlines;
- $smarty->_conf_obj->set_path = $_config_dir;
+ $smarty->_conf_obj->set_path($_config_dir);
}
$_config_vars = array_merge($smarty->_conf_obj->get($_file),
$smarty->_conf_obj->get($_file, $_section));
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php