/**
  * This method renders the report
  *
  * @return    string    The status report as HTML
  */
 public function getReport()
 {
     $actionURL = tx_additionalreports_util::getBaseUrl() . '&cmd=deleteAll';
     $content = '<a href="' . $actionURL . '"><img src="' . \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_DIR') . '../typo3conf/ext/additional_reports/Resources/Public/Icons/garbage.gif"/> ' . $GLOBALS['LANG']->getLL('flushalllog') . '</a>';
     $content .= tx_additionalreports_main::displayRealUrlErrors();
     return $content;
 }
Ejemplo n.º 2
0
 /**
  * @test
  */
 public function displayRealUrlErrors()
 {
     $str = tx_additionalreports_main::displayRealUrlErrors();
     $this->assertTrue(!empty($str));
 }