summaryrefslogtreecommitdiffstats
path: root/inc/module.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2016-05-11 19:00:30 +0200
committerSimon Rettberg2016-05-11 19:00:30 +0200
commit1cc1c2ed092c46eb35893c1d85accb24cf43d7f9 (patch)
tree95c1302f4a1ae441e174a1dca64133e2873f8297 /inc/module.inc.php
parentAdd PhpStorm prefs (diff)
downloadslx-admin-1cc1c2ed092c46eb35893c1d85accb24cf43d7f9.tar.gz
slx-admin-1cc1c2ed092c46eb35893c1d85accb24cf43d7f9.tar.xz
slx-admin-1cc1c2ed092c46eb35893c1d85accb24cf43d7f9.zip
Still working in modularization cleanup and refinement
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;
+ }
+
}