uh oh
[gwvp.git] / www / config.php
1 <?php
2
3 // the config file, this is as exciting as it gets really
4 $repo_base = "/tmp/gwvp-repos/";
5 $lib_base = "../gwvplib/";
6 $data_directory = "../data";
7
8
9
10 // nothing to configure from here
11 $WEB_ROOT_FS = realpath(dirname(__FILE__));
12 $BASE_URL = dirname($_SERVER["PHP_SELF"]);
13
14 global $WEB_ROOT_FS, $BASE_URL;
15
16 // add libglcas as if it were a path in ../libglcas
17 if(file_exists($lib_base)) {
18         $path = realpath($lib_base);
19         set_include_path(get_include_path().PATH_SEPARATOR.$path);
20 }
21
22 require_once("gwvplib.php");
23
24 ?>