aboutsummaryrefslogtreecommitdiff
path: root/modules/index
diff options
context:
space:
mode:
Diffstat (limited to 'modules/index')
-rw-r--r--modules/index/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/index/index.php b/modules/index/index.php
index 9847cb5..54c8dbd 100644
--- a/modules/index/index.php
+++ b/modules/index/index.php
@@ -8,6 +8,8 @@
*
*/
+define('INDEX_MODULE', true);
+
$result = $db->Query("SELECT `dir_name` FROM `bayonet_modules` ORDER BY `weight` ASC");
$modules = $db->Fetch($result);
foreach($modules as $module)