Elgg  Version 5.1
phpinfo.php
Go to the documentation of this file.
1 <?php
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(string $name, $default=null)
Get an Elgg configuration value.
Thrown when page is not accessible.