1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

my attempt to break the source. :D

The Cache-Control change may stay or may not stay.
fixed: php3 compliance within the emailer. :)


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4073 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2003-06-02 18:02:46 +00:00
parent efe6ed8753
commit c24b7f81b1
5 changed files with 26 additions and 8 deletions

View File

@@ -148,7 +148,8 @@ class emailer
$this->msg = preg_replace('#\{([a-z0-9\-_]*?)\}#is', "' . $\\1 . '", $this->msg);
// Set vars
foreach ($this->vars as $key => $val)
reset ($this->vars);
while (list($key, $val) = each($this->vars))
{
$$key = $val;
}
@@ -156,7 +157,8 @@ class emailer
eval("\$this->msg = '$this->msg';");
// Clear vars
foreach ($this->vars as $key => $val)
reset ($this->vars);
while (list($key, $val) = each($this->vars))
{
unset($$key);
}