summaryrefslogtreecommitdiffstats
path: root/inc/module.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/module.inc.php')
-rw-r--r--inc/module.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/module.inc.php b/inc/module.inc.php
index 261c2990..894bc0f6 100644
--- a/inc/module.inc.php
+++ b/inc/module.inc.php
@@ -178,4 +178,9 @@ class Module
return Dictionary::getCategoryName($this->category);
}
+ public function getDir()
+ {
+ return 'modules/' . $this->name;
+ }
+
}