CMS
Version 3.9
php_info.inc
Go to the documentation of this file.
1
<?php
2
Fakoli::assertRole
(
"admin"
);
3
4
ob_start();
5
6
phpinfo();
7
8
$info
= ob_get_contents();
9
ob_end_clean();
10
11
$info
= preg_replace(
"/.*?<body>(.*?)<\/body>/s"
,
"$1"
,
$info
);
12
13
echo
$info
;
14
?>
Fakoli\assertRole
static assertRole($role, $redirect="", $message="")
Assert that the user has one of the specified roles.
Definition:
core.inc:297
$info
$info
Definition:
php_info.inc:8
code
cms.sonjara.com
cms
components
admin
handlers
php_info.inc
Generated on Tue Mar 23 2021 15:36:11 for CMS by
1.9.1