Show real path of module if not into custom

This commit is contained in:
Laurent Destailleur 2018-10-16 18:09:43 +02:00
parent f5029bf52b
commit 502c52b78f
2 changed files with 9 additions and 1 deletions

View File

@ -99,3 +99,4 @@ InitStructureFromExistingTable=Build the structure array string of an existing t
UseAboutPage=Disable the about page
UseDocFolder=Disable the documentation folder
UseSpecificReadme=Use a specific ReadMe
RealPathOfModule=Real path of module

View File

@ -1154,9 +1154,16 @@ elseif (! empty($module))
$head2[$h][2] = 'buildpackage';
$h++;
// Link to enable / disable
print $modulestatusinfo;
print ' '.$linktoenabledisable;
print '<br><br>';
print '<br>';
if (realpath($dirread.'/'.$modulelowercase) != $dirread.'/'.$modulelowercase)
{
print $langs->trans("RealPathOfModule").' : <strong>'.realpath($dirread.'/'.$modulelowercase).'</strong><br>';
}
print '<br>';
if ($tab == 'description')
{