[PHPLIB-DEV] cvs commit From: carmelo (phplib-dev <email protected>)
Date: 01/15/00

From: carmelo
Date: Sat Jan 15 09:14:57 2000
Modified files:
      php-lib/php/template.inc

Log message:
I was esting on php4, so I made a litle correction to revert to normal and
left the correction for those who whish to test with php4.
seems preg doesn't work the same on php4. perhaps some bugs...

Index: php-lib/php/template.inc
diff -u php-lib/php/template.inc:1.11 php-lib/php/template.inc:1.12
--- php-lib/php/template.inc:1.11 Sat Jan 15 05:05:18 2000
+++ php-lib/php/template.inc Sat Jan 15 09:14:27 2000
@@ -5,7 +5,7 @@
  * (C) Copyright 1999 NetUSE GmbH
  * Kristian Koehntopp
  *
- * $Id: template.inc,v 1.11 2000/01/15 04:05:18 carmelo Exp $
+ * $Id: template.inc,v 1.12 2000/01/15 08:14:27 carmelo Exp $
  *
  */
 
@@ -127,8 +127,10 @@
 
     $this->block[$varname]["parent"] = $parent;
         //carmelo
- //correction to make the blocks work
- $this->block[$varname]["alias"] = "{".$name."}";
+ //wild fix to make the blocks work on php4
+ //$this->block[$varname]["alias"] = "{".$name."}";
+ //end of wild fix
+ $this->block[$varname]["alias"] = $name;
 
     return true;
   }

-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.