summaryrefslogtreecommitdiff
path: root/scripts/ext_skel_ng/php_ini.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ext_skel_ng/php_ini.php')
-rw-r--r--scripts/ext_skel_ng/php_ini.php4
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() {