container->router; // -- Get the log's file name $tag = $this->tag; $logName = \Akeeba\Engine\Factory::getLog()->getLogFilename($tag); if(!@file_exists($logName)) { // Oops! The log doesn't exist! echo '
' . Text::sprintf('SOLO_LOG_ERR_LOGFILENOTEXISTS', $logName).'
'; return; } else { // Allright, let's load and render it $fp = fopen( $logName, "rt" ); if ($fp === FALSE) { // Oops! The log isn't readable?! echo ''.Text::_('COM_AKEEBA_LOG_ERROR_UNREADABLE').'
'; return; } echo "| Type | Time | Message |
|---|---|---|
| ' . $fmtString . ' | ' . $exploded[1] . ' | ' . htmlspecialchars($exploded[2]) . " |