cvs: smarty /libs/plugins function.config_load.php

"Monte Ohrt" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmohrt1071258311@cvsserver>
mohrt		Fri Dec 12 14:45:11 2003 EDT

  Modified files:              
    /smarty/libs/plugins	function.config_load.php 
  Log:
  move set_path() call below the conditional bracket
  
  
Index: smarty/libs/plugins/function.config_load.php
diff -u smarty/libs/plugins/function.config_load.php:1.18 smarty/libs/plugins/function.config_load.php:1.19
--- smarty/libs/plugins/function.config_load.php:1.18	Fri Dec 12 09:38:42 2003
+++ smarty/libs/plugins/function.config_load.php	Fri Dec 12 14:45:11 2003
@@ -81,8 +81,8 @@
                 $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));
             if(function_exists('var_export')) {

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.