Elgg  Version master
admin_exception.php
Go to the documentation of this file.
1 <?php
12 if (!$exception instanceof Throwable) {
13  return;
14 }
15 
16 ?>
17 <div class="elgg-messages-exception">
18  <span title="Unrecoverable Error">
19  <?php echo elgg_echo('exception:contact_admin'); ?>
20  <br/><br/>
21  Exception at time <?php echo date(DATE_W3C, elgg_extract('ts', $vars)); ?>.
22  </span>
23 </div>
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:254
$exception
Elgg exception (failsafe mode) Displays a single exception.
$vars
Definition: theme.php:5