@@ 2049-2056 (lines=8) @@ | ||
2046 | $compiled_ref = "\$this->_sections[$_var]"; |
|
2047 | break; |
|
2048 | ||
2049 | case 'get': |
|
2050 | if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { |
|
2051 | $this->_syntax_error("(secure mode) super global access not permitted", |
|
2052 | E_USER_WARNING, __FILE__, __LINE__); |
|
2053 | return; |
|
2054 | } |
|
2055 | $compiled_ref = "\$_GET"; |
|
2056 | break; |
|
2057 | ||
2058 | case 'post': |
|
2059 | if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { |
|
@@ 2058-2065 (lines=8) @@ | ||
2055 | $compiled_ref = "\$_GET"; |
|
2056 | break; |
|
2057 | ||
2058 | case 'post': |
|
2059 | if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { |
|
2060 | $this->_syntax_error("(secure mode) super global access not permitted", |
|
2061 | E_USER_WARNING, __FILE__, __LINE__); |
|
2062 | return; |
|
2063 | } |
|
2064 | $compiled_ref = "\$_POST"; |
|
2065 | break; |
|
2066 | ||
2067 | case 'cookies': |
|
2068 | if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { |
|
@@ 2067-2074 (lines=8) @@ | ||
2064 | $compiled_ref = "\$_POST"; |
|
2065 | break; |
|
2066 | ||
2067 | case 'cookies': |
|
2068 | if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { |
|
2069 | $this->_syntax_error("(secure mode) super global access not permitted", |
|
2070 | E_USER_WARNING, __FILE__, __LINE__); |
|
2071 | return; |
|
2072 | } |
|
2073 | $compiled_ref = "\$_COOKIE"; |
|
2074 | break; |
|
2075 | ||
2076 | case 'env': |
|
2077 | if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { |
|
@@ 2076-2083 (lines=8) @@ | ||
2073 | $compiled_ref = "\$_COOKIE"; |
|
2074 | break; |
|
2075 | ||
2076 | case 'env': |
|
2077 | if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { |
|
2078 | $this->_syntax_error("(secure mode) super global access not permitted", |
|
2079 | E_USER_WARNING, __FILE__, __LINE__); |
|
2080 | return; |
|
2081 | } |
|
2082 | $compiled_ref = "\$_ENV"; |
|
2083 | break; |
|
2084 | ||
2085 | case 'server': |
|
2086 | if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { |
|
@@ 2085-2092 (lines=8) @@ | ||
2082 | $compiled_ref = "\$_ENV"; |
|
2083 | break; |
|
2084 | ||
2085 | case 'server': |
|
2086 | if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { |
|
2087 | $this->_syntax_error("(secure mode) super global access not permitted", |
|
2088 | E_USER_WARNING, __FILE__, __LINE__); |
|
2089 | return; |
|
2090 | } |
|
2091 | $compiled_ref = "\$_SERVER"; |
|
2092 | break; |
|
2093 | ||
2094 | case 'session': |
|
2095 | if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { |
|
@@ 2094-2101 (lines=8) @@ | ||
2091 | $compiled_ref = "\$_SERVER"; |
|
2092 | break; |
|
2093 | ||
2094 | case 'session': |
|
2095 | if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { |
|
2096 | $this->_syntax_error("(secure mode) super global access not permitted", |
|
2097 | E_USER_WARNING, __FILE__, __LINE__); |
|
2098 | return; |
|
2099 | } |
|
2100 | $compiled_ref = "\$_SESSION"; |
|
2101 | break; |
|
2102 | ||
2103 | /* |
|
2104 | * These cases are handled either at run-time or elsewhere in the |