Marius Cramer
2013-11-14 7fe908c50c8dbc5cc05f571dbe11d66141caacd4
server/lib/classes/modules.inc.php
@@ -49,7 +49,7 @@
            while (($file = readdir($dh)) !== false) {
               if($file != '.' && $file != '..' && substr($file,-8,8) == '.inc.php') {
                  $module_name = substr($file,0,-8);
                  include_once($modules_dir.$file);
                  include_once $modules_dir.$file;
                  if($this->debug) $app->log('Loading Module: '.$module_name,LOGLEVEL_DEBUG);
                  $app->loaded_modules[$module_name] = new $module_name;
                  $app->loaded_modules[$module_name]->onLoad();
@@ -246,7 +246,7 @@
      //* get the server_id of the local server
      $server_id = intval($conf["server_id"]);
      
      include_once (SCRIPT_PATH."/lib/remote_action.inc.php");
      include_once SCRIPT_PATH."/lib/remote_action.inc.php";
      
      //* SQL query to get all pending actions
      $sql = "SELECT action_id, action_type, action_param " .