cvs: smarty / NEWS /libs/core core.display_debug_console.php

"Monte Ohrt" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmohrt1080657416@cvsserver>
mohrt		Tue Mar 30 09:36:56 2004 EDT

  Modified files:              
    /smarty/libs/core	core.display_debug_console.php 
    /smarty	NEWS 
  Log:
  fix problem displaying debug console when $default_resource_type is not "file:"
  
  
http://cvs.php.net/diff.php/smarty/libs/core/core.display_debug_console.php?r1=1.8&r2=1.9&ty=u
Index: smarty/libs/core/core.display_debug_console.php
diff -u smarty/libs/core/core.display_debug_console.php:1.8 smarty/libs/core/core.display_debug_console.php:1.9
--- smarty/libs/core/core.display_debug_console.php:1.8	Sat Oct 11 04:55:53 2003
+++ smarty/libs/core/core.display_debug_console.php	Tue Mar 30 09:36:56 2004
@@ -21,7 +21,7 @@
 
     if(empty($smarty->debug_tpl)) {
         // set path to debug template from SMARTY_DIR
-        $smarty->debug_tpl = SMARTY_DIR . 'debug.tpl';
+        $smarty->debug_tpl = 'file:' . SMARTY_DIR . 'debug.tpl';
         if($smarty->security && is_file($smarty->debug_tpl)) {
             $smarty->secure_dir[] = dirname(realpath($smarty->debug_tpl));
         }
http://cvs.php.net/diff.php/smarty/NEWS?r1=1.442&r2=1.443&ty=u
Index: smarty/NEWS
diff -u smarty/NEWS:1.442 smarty/NEWS:1.443
--- smarty/NEWS:1.442	Tue Mar 23 04:49:21 2004
+++ smarty/NEWS	Tue Mar 30 09:36:56 2004
@@ -1,3 +1,5 @@
+  - fix problem displaying debug console when $default_resource_type
+    is not "file:" (c960657, Monte)
   - fix permission handling with security and config_load (messju)
   - removed '.' from the list of default template locations in
     _parse_resource_name() (messju)

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