vogelor
2008-12-18 abc09ddbb12d4332a08b115e1b69baec9a1b030a
server/plugins-available/network_settings_plugin.inc.php
@@ -34,6 +34,15 @@
   var $class_name = 'network_settings_plugin';
   
   
   //* This function is called during ispconfig installation to determine
   //  if a symlink shall be created for this plugin.
   function onInstall() {
      global $conf;
      return true;
   }
   /*
       This function is called when the plugin is loaded
   */
@@ -113,6 +122,12 @@
         $app->log("Changed Network settings",LOGLEVEL_DEBUG);
         
         exec('/etc/init.d/networking force-reload');
      } else {
         if(is_file('/etc/debian_version')) {
            $app->log("Network configuration disabled in server settings.",LOGLEVEL_WARN);
         } else {
            $app->log("Network configuration not available for this linux distribution.",LOGLEVEL_DEBUG);
         }
      }
      
   }