Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
resources
phpinfo.php
Go to the documentation of this file.
1
<?php
6
use
Elgg\Exceptions\Http\PageNotFoundException
;
7
8
if
(!
elgg_get_config
(
'allow_phpinfo'
)) {
9
// page is not allowed in elgg-config/settings.php
10
throw
new
PageNotFoundException
();
11
}
12
13
phpinfo();
elgg_get_config
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
Definition:
configuration.php:136
PageNotFoundException
Elgg\Exceptions\Http\PageNotFoundException
Thrown when page is not accessible.
Definition:
PageNotFoundException.php:12
Generated on Sat Dec 21 2024 00:02:54 for Elgg by
1.8.11