From 8d5972c8f4721f8c9587d1fbd816f3dbba5324a5 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Wed, 28 Dec 2011 19:41:43 +0100
Subject: [PATCH] Add info in html page

---
 htdocs/admin/modules.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php
index 1af85bf20f9..8c9d2e18328 100644
--- a/htdocs/admin/modules.php
+++ b/htdocs/admin/modules.php
@@ -150,7 +150,7 @@ foreach ($modulesdir as $dir)
     						//print "x".$modName." ".$orders[$i]."\n<br>";
     						if (isset($categ[$objMod->special])) $categ[$objMod->special]++;					// Array of all different modules categories
     			            else $categ[$objMod->special]=1;
-    						$dirmod[$i] = $dirroot;
+    						$dirmod[$i] = $dir;
     						$j++;
     			            $i++;
     					}
@@ -323,6 +323,8 @@ if ($mode != 4)
             }
 
             $var=!$var;
+
+            //print "\n<!-- Module ".$objMod->numero." ".$objMod->getName()." found into ".$dirmod[$key]." -->\n";
             print '<tr height="18" '.$bc[$var].">\n";
 
             // Picto
-- 
GitLab