more framework
[CBFWR.git] / bin / fwc.php
index e69de29..25d56cc 100644 (file)
@@ -0,0 +1,16 @@
+<?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");
+
+?>
\ No newline at end of file