Date: 01/15/00
- Next message: Sylvan Ravinet: "[PHPLIB-DEV] A framework for web applications"
- Previous message: carmelo: "[PHPLIB-DEV] cvs commit"
- In reply to: carmelo: "[PHPLIB-DEV] cvs commit"
- Next in thread: carmelo: "[PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
carmelo wrote:
>
> 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...
Known issue on PHP4 -- `{$' is special within strings.
Hit me already several times so I was lisp-thinking to exchange {.} for
(.) :-)
>
> 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.
-- CIMPOESU Teodor, Web Programmer@ DIGICOM S.A. Bucharest, Romania @ Internet, site development @ teo <email protected> , +(401)-330.47.28
official home page ~ http://www.digiro.net/ Internet web page ~ http://internet.digiro.net/ - 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.
- Next message: Sylvan Ravinet: "[PHPLIB-DEV] A framework for web applications"
- Previous message: carmelo: "[PHPLIB-DEV] cvs commit"
- In reply to: carmelo: "[PHPLIB-DEV] cvs commit"
- Next in thread: carmelo: "[PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

