Skip to content
Snippets Groups Projects
Commit 52c99b7e authored by Benni Mack's avatar Benni Mack Committed by Andreas Wolf
Browse files

[TASK] Use extPath for lowlevel readme

Resolves: #73739
Releases: master
Change-Id: Id18108657be38f075eaa5fc1ec9e73cd0e27d9db
Reviewed-on: https://review.typo3.org/46957


Reviewed-by: default avatarTimo Schmidt <timo-schmidt@gmx.net>
Tested-by: default avatarTimo Schmidt <timo-schmidt@gmx.net>
Reviewed-by: default avatarAndreas Wolf <andreas.wolf@typo3.org>
Tested-by: default avatarAndreas Wolf <andreas.wolf@typo3.org>
parent a3d3c4f9
Branches
Tags
No related merge requests found
......@@ -25,6 +25,7 @@ use TYPO3\CMS\Core\Database\ReferenceIndex;
use TYPO3\CMS\Core\Imaging\Icon;
use TYPO3\CMS\Core\Imaging\IconFactory;
use TYPO3\CMS\Core\Integrity\DatabaseIntegrityCheck;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Fluid\View\StandaloneView;
......@@ -312,6 +313,8 @@ class DatabaseIntegrityView extends BaseScriptClass
public function func_refindex()
{
$this->view->assign('PATH_typo3', PATH_typo3);
$this->view->assign('ReadmeLink', ExtensionManagementUtility::extRelPath('lowlevel') . 'README.rst');
$this->view->assign('ReadmeLocation', ExtensionManagementUtility::extPath('lowlevel', 'README.rst'));
if (GeneralUtility::_GP('_update') || GeneralUtility::_GP('_check')) {
$testOnly = (bool)GeneralUtility::_GP('_check');
......
......@@ -11,14 +11,19 @@
<h2>{f:translate(key:'checkScript_headline')}</h2>
<p>{f:translate(key:'checkScript')}</p>
<h3>{f:translate(key:'checkScript_check_description')}</h3><p>
<code>php {PATH_typo3}cli_dispatch.phpsh lowlevel_refindex -c</code></p>
<h3>{f:translate(key:'checkScript_check_description')}</h3>
<p>
<code>php {PATH_typo3}cli_dispatch.phpsh lowlevel_refindex -c</code>
</p>
<h3>{f:translate(key:'checkScript_update_description')}</h3><p>
<code>php {PATH_typo3}cli_dispatch.phpsh lowlevel_refindex -e</code></p>
<h3>{f:translate(key:'checkScript_update_description')}</h3>
<p>
<code>php {PATH_typo3}cli_dispatch.phpsh lowlevel_refindex -e</code>
</p>
<f:be.infobox state="-1" message="{f:translate(key:'checkScript_information')}" />
<p>{f:translate(key:'checkScript_moreDetails')} <br>
<a href="sysext/lowlevel/README.rst" target="_new">{PATH_typo3}sysext/lowlevel/README.rst</a>
<p>
{f:translate(key:'checkScript_moreDetails')}<br>
<a href="{ReadmeLink}" target="_new">{ReadmeLocation}</a>
</p>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment