aboutsummaryrefslogtreecommitdiff
path: root/modules/index/index.php
diff options
context:
space:
mode:
authorjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2011-04-17 12:49:09 -0400
committerjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2011-04-17 12:49:09 -0400
commitfa8180ea3a41584943dd7464eb8c3cad769d8211 (patch)
tree9d52ffcd157d29f322226b467d7fe70eaa502388 /modules/index/index.php
parentb3261cbea8c20989d2976a4816021438a668397d (diff)
downloadbayonetcms-fa8180ea3a41584943dd7464eb8c3cad769d8211.tar.gz
Jessus christ
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2.1@491 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'modules/index/index.php')
-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)