mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-07-06 12:03:39 +00:00
Only add debug information during installation on HTML documents (#20528)
This commit is contained in:
parent
ebdc7e2299
commit
8477d0b3c1
|
@ -102,6 +102,11 @@ final class InstallationApplication extends CMSApplication
|
|||
*/
|
||||
public function debugLanguage()
|
||||
{
|
||||
if ($this->getDocument()->getType() != 'html')
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
$lang = Factory::getLanguage();
|
||||
$output = '<h4>' . \JText::_('JDEBUG_LANGUAGE_FILES_IN_ERROR') . '</h4>';
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user