changed how configs work
[CBFWR.git] / bin / fwc.php
1 <?php
2 $CMD_ROOT_FS = realpath(dirname(__FILE__));
3
4 global $CMD_ROOT_FS;
5
6 // add libglcas as if it were a path in ../libglcas
7 if(file_exists("../libcbfwr")) {
8         $path = realpath($CMD_ROOT_FS."/../");
9         error_log("added cbfwr path as $path");
10         set_include_path(get_include_path().PATH_SEPARATOR.$path);
11 }
12
13 // include the based library
14 require_once("libcbfwr/lib.php");
15
16 glcas_pluginLoader();
17
18 ?>