mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
add nils' request and super globals class
rename request:: to phpbb_request:: git-svn-id: file:///svn/phpbb/trunk@9230 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -875,7 +875,7 @@ $submit = (isset($HTTP_POST_VARS['submit'])) ? true : false;
|
||||
<p class="good">// Use request var and define a default variable (use the correct type)</p>
|
||||
<div class="codebox"><pre>
|
||||
$start = request_var('start', 0);
|
||||
$submit = request::is_set_post('submit');
|
||||
$submit = phpbb_request::is_set_post('submit');
|
||||
</pre></div>
|
||||
|
||||
<p class="bad">// $start is an int, the following use of request_var therefore is not allowed</p>
|
||||
|
Reference in New Issue
Block a user