2 $CMD_ROOT_FS = realpath(dirname(__FILE__));
8 // add libglcas as if it were a path in ../libglcas
9 if(file_exists("../libcbfwr")) {
10 $path = realpath($CMD_ROOT_FS."/../");
11 error_log("added cbfwr path as $path");
12 set_include_path(get_include_path().PATH_SEPARATOR.$path);
15 // include the based library
16 require_once("libcbfwr/lib.php");
23 $conf = $comms->getConfig(0);
26 echo "1 - boot hardware";
27 $conf = $comms->getConfig(1);
30 echo "2 - running config";
31 $conf = $comms->getConfig(2);
34 echo "3 - client config";
35 $conf = $comms->getConfig(3);