Bug #23323 ยป 15313_v1.diff
typo3/sysext/reports/reports/status/class.tx_reports_reports_status_configurationstatus.php (Arbeitskopie) | ||
---|---|---|
// 100 MB
|
||
protected $deprecationLogFileSizeErrorThreshold = 104857600;
|
||
/**
|
||
* Backpath to the typo3 main directory
|
||
*
|
||
* @var string
|
||
*/
|
||
protected $backPath = '../';
|
||
/**
|
||
* Determines the Install Tool's status, mainly concerning its protection.
|
||
... | ... | |
* @return string Link to the deprecation log file
|
||
*/
|
||
protected function getDeprecationLogFileLink() {
|
||
$logFile = t3lib_div::getDeprecationLogFileName();
|
||
$documentRoot = t3lib_div::getIndpEnv('TYPO3_DOCUMENT_ROOT');
|
||
$logFile = t3lib_div::getDeprecationLogFileName();
|
||
$relativePath = substr($logFile, strlen(PATH_site));
|
||
$link = '<a href="' . $this->backPath . $relativePath . '">' . $logFile . '</a>';
|
||
$relativePath = substr($logFile, strlen($documentRoot));
|
||
$link = '<a href="..' . $relativePath . '">' . $logFile . '</a>';
|
||
return $link;
|
||
}
|
||
}
|
||