diff options
| author | Hartmut Holzgraefe <hholzgra@php.net> | 2003-06-21 19:38:13 +0000 |
|---|---|---|
| committer | Hartmut Holzgraefe <hholzgra@php.net> | 2003-06-21 19:38:13 +0000 |
| commit | 476cb350830bdb980906017ce89035a53a8a02e6 (patch) | |
| tree | ec79f2c22cc10ffef1bab473ef114ec17f49e3f0 /scripts/ext_skel_ng/php_ini.php | |
| parent | ba8e371db1fdd31f88700d3464df7c331389326d (diff) | |
| download | php-git-476cb350830bdb980906017ce89035a53a8a02e6.tar.gz | |
ini stuff was a bit broken
Diffstat (limited to 'scripts/ext_skel_ng/php_ini.php')
| -rw-r--r-- | scripts/ext_skel_ng/php_ini.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ext_skel_ng/php_ini.php b/scripts/ext_skel_ng/php_ini.php index 88da50ae28..3ac6e44fab 100644 --- a/scripts/ext_skel_ng/php_ini.php +++ b/scripts/ext_skel_ng/php_ini.php @@ -18,7 +18,7 @@ $this->value = $attr["value"]; $this->desc = $attr["desc"]; - switch ($attr["access"]) { + switch (@$attr["access"]) { case "system": $this->access = "PHP_INI_SYSTEM"; break; @@ -70,7 +70,7 @@ } function c_code($name) { - return " STD_PHP_INI_ENTRY(\"{$name}.$name\", \"{$this->value}\", {$this->access}, {$this->onupdate}, $name, zend_{$name}_globals, {$name}_globals)\n"; + return " STD_PHP_INI_ENTRY(\"$name.{$this->name}\", \"{$this->value}\", {$this->access}, {$this->onupdate}, {$this->name}, zend_{$name}_globals, {$name}_globals)\n"; } static function c_code_footer() { |
