projects
/
atutor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
changed git call from https to git readonly
[atutor.git]
/
mods
/
wiki
/
plugins
/
page
/
phpinfo.php
1
<?php
2
3
#
4
# returns phpinfo() as page content
5
#
6
7
8
$ewiki_plugins["page"]["PhpInfo"] = "ewiki_page_phpinfo";
9
10
11
function ewiki_page_phpinfo($id, $data, $action) {
12
ob_start();
13
phpinfo(45);
14
$o .= ob_get_contents();
15
ob_end_clean();
16
$o = substr($o, 554, -19);
17
return($o);
18
}
19
20
21
?>