tbrehm
2008-11-22 6f67c78cf8668e570c5ef7fd4430e3d0e4a66aef
server/lib/classes/modules.inc.php
@@ -33,15 +33,15 @@
   var $notification_hooks = array();
   
   /*
    This function is called to load the modules from the mods-available folder
    This function is called to load the modules from the mods-enabled or the mods-core folder
   */
   function loadModules() {
   function loadModules($type) {
      global $app, $conf;
      
      $modules_dir = $conf["rootpath"].$conf["fs_div"]."mods-enabled".$conf["fs_div"];
      $subPath = 'mods-enabled';
      if ($type == 'core') $subPath = 'mods-core';
      $modules_dir = $conf["rootpath"].$conf["fs_div"].$subPath.$conf["fs_div"];
      if (is_dir($modules_dir)) {
         if ($dh = opendir($modules_dir)) {
            while (($file = readdir($dh)) !== false) {