cvs: smarty /libs Smarty.class.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1063628783@cvsserver>
messju		Mon Sep 15 08:26:23 2003 EDT

  Modified files:              
    /smarty/libs	Smarty.class.php 
  Log:
  little fix in _get_auto_filename()
  
  
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.446 smarty/libs/Smarty.class.php:1.447
--- smarty/libs/Smarty.class.php:1.446	Sun Sep 14 09:37:14 2003
+++ smarty/libs/Smarty.class.php	Mon Sep 15 08:26:23 2003
@@ -43,7 +43,7 @@
  * @version 2.6.0-RC1-cvs
  */
 
-/* $Id: Smarty.class.php,v 1.446 2003/09/14 13:37:14 messju Exp $ */
+/* $Id: Smarty.class.php,v 1.447 2003/09/15 12:26:23 messju Exp $ */
 
 /**
  * DIR_SEP isn't used anymore, but third party apps might
@@ -1856,7 +1856,7 @@
      */
     function _get_auto_filename($auto_base, $auto_source = null, $auto_id = null)
     {
-        $_compile_dir_sep =  $smarty->use_sub_dirs ? DIRECTORY_SEPARATOR : '^';
+        $_compile_dir_sep =  $this->use_sub_dirs ? DIRECTORY_SEPARATOR : '^';
 
         if(@is_dir($auto_base)) {
             $_return = $auto_base . DIRECTORY_SEPARATOR;
@@ -1864,7 +1864,7 @@
             // auto_base not found, try include_path
             $_params = array('file_path' => $auto_base);
             require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.get_include_path.php');
-            smarty_core_get_include_path($_params, $smarty);
+            smarty_core_get_include_path($_params, $this);
             $_return = isset($_params['new_file_path']) ? $_params['new_file_path'] . DIRECTORY_SEPARATOR : null;
         }
 

-- 
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.