--- /dev/null
+<?php
+$CMD_ROOT_FS = realpath(dirname(__FILE__));
+
+global $CMD_ROOT_FS;
+
+// add libglcas as if it were a path in ../libglcas
+if(file_exists("../libcbfwr")) {
+ $path = realpath($CMD_ROOT_FS."/../");
+ error_log("added cbfwr path as $path");
+ set_include_path(get_include_path().PATH_SEPARATOR.$path);
+}
+
+// include the based library
+require_once("libcbfwr/lib.php");
+
+glcas_pluginLoader();
+
+error_log("CBFWRD starting");
+?>
\ No newline at end of file
// include the based library
require_once("libcbfwr/lib.php");
+glcas_pluginLoader();
+
?>
\ No newline at end of file
--- /dev/null
+<?php
+// C = msg key
+// L = locking key
+$message_key = ftok(realpath(dirname(__FILE__)), "c");
+$locking_key = ftok(realpath(dirname(__FILE__)), "l");
+$store_key = ftok(realpath(dirname(__FILE__)), "s");
+
+echo "comms key: $message_key, $locking_key, $store_key\n";
+
+?>
\ No newline at end of file
--- /dev/null
+<?php
+?>
\ No newline at end of file
*/
require_once("libcbfwr/config.php");
+require_once("libcbfwr/comms.php");
function glcas_pluginLoader($path="")
{