diff options
author | Christian Schneider | 2007-02-06 18:46:18 +0000 |
---|---|---|
committer | Christian Schneider | 2007-02-06 18:46:18 +0000 |
commit | a7a035ce0c44abae1591d9816a46292ccf8f09a1 (patch) | |
tree | b66173a1b3a19f59d24a9499afbf94f71d881f87 | |
parent | 5e3bb33edd612d84e071dbad3d29866b8bacbb7c (diff) | |
download | itools-a7a035ce0c44abae1591d9816a46292ccf8f09a1.tar.gz itools-a7a035ce0c44abae1591d9816a46292ccf8f09a1.tar.bz2 itools-a7a035ce0c44abae1591d9816a46292ccf8f09a1.zip |
Fix it_xml recursion (and hence apache crash) by overwriting base constructor
-rw-r--r-- | xml.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ function start_element($parser, $name, $attrs) $name = $this->_p['prefix'] . $name; if (!class_exists($name)) - eval("class $name extends $this->_baseclass {}"); + eval("class $name extends $this->_baseclass { function $name() {} }"); # Extend base class but overwrite constructor with an empty one if (!$this->_stack && !$this->_p['factory']) array_unshift($this->_stack, &$this); |