X-Git-Url: http://git.pjr.cc/?p=gwvp.git;a=blobdiff_plain;f=www%2Fconfig.php;h=aa705042a2a60208dcdf4ac73857155b067c1b2e;hp=fc67a23e7f43ee6b0e51efad437d41781dc065d4;hb=a182956b0e83f45b973212b0b91bb44cf88edbdc;hpb=674f402e57a48fb80c84f3c556ec08ff1b1c6239 diff --git a/www/config.php b/www/config.php index fc67a23..aa70504 100644 --- a/www/config.php +++ b/www/config.php @@ -3,6 +3,7 @@ // the config file, this is as exciting as it gets really $repo_base = "/tmp/gwvp-repos/"; $lib_base = "../gwvplib/"; +$data_directory = "../data"; @@ -14,9 +15,10 @@ global $WEB_ROOT_FS, $BASE_URL; // add libglcas as if it were a path in ../libglcas if(file_exists($lib_base)) { - $path = realpath($WEB_ROOT_FS."/$lib_base"); - error_log("addded $path as include"); + $path = realpath($lib_base); set_include_path(get_include_path().PATH_SEPARATOR.$path); } +require_once("gwvplib.php"); + ?> \ No newline at end of file