dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix two xss attacks and one path validation attack
[lhc/web/wiklou.git]
/
includes
/
SpecialDebug.php
1
<
?php
2
/**
3
* Let developpers receive the full phpinfo output
4
* @package MediaWiki
5
* @subpackage SpecialPage
6
*/
7
8
/**
9
*
10
*/
11
function
wfSpecialDebug
() {
12
global
$wgUser
,
$wgOut
;
13
14
if
( !
$wgUser
->
isDeveloper
() ) {
15
$wgOut
->
developerRequired
();
16
return
;
17
}
18
phpinfo
();
19
}