From 502c52b78fc58a401c10826825a4ae9baabb7ea3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 16 Oct 2018 18:09:43 +0200 Subject: [PATCH] Show real path of module if not into custom --- htdocs/langs/en_US/modulebuilder.lang | 1 + htdocs/modulebuilder/index.php | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/htdocs/langs/en_US/modulebuilder.lang b/htdocs/langs/en_US/modulebuilder.lang index 940088368d5..6aef75a5746 100644 --- a/htdocs/langs/en_US/modulebuilder.lang +++ b/htdocs/langs/en_US/modulebuilder.lang @@ -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 diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index d325e52a343..182cb6b08ff 100644 --- a/htdocs/modulebuilder/index.php +++ b/htdocs/modulebuilder/index.php @@ -1154,9 +1154,16 @@ elseif (! empty($module)) $head2[$h][2] = 'buildpackage'; $h++; + // Link to enable / disable print $modulestatusinfo; print ' '.$linktoenabledisable; - print '

'; + print '
'; + + if (realpath($dirread.'/'.$modulelowercase) != $dirread.'/'.$modulelowercase) + { + print $langs->trans("RealPathOfModule").' : '.realpath($dirread.'/'.$modulelowercase).'
'; + } + print '
'; if ($tab == 'description') {