. * * Version 0.1 * Author: Octavio Benedi Sanchez */ function parse_xbee_conf() { global $url_plugin; global $section; global $plugin; global $base_plugin; // Change this value to point where usually Xbee module is. $default_port='S0'; $configuration=Array(); if (file_exists($base_plugin.'data/xbee.conf')) { include $base_plugin.'data/xbee.conf'; } else { $configuration['port']=$default_port; } return $configuration; } ?>