From: paulr Date: Sun, 30 Oct 2011 02:04:42 +0000 (+1100) Subject: uh oh X-Git-Url: http://git.pjr.cc/?p=gwvp.git;a=commitdiff_plain;h=a182956b0e83f45b973212b0b91bb44cf88edbdc uh oh --- diff --git a/www/.htaccess b/www/.htaccess index be7a5ed..89a505c 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -1,7 +1,6 @@ RewriteEngine on -RewriteBase /src/eclipse-workspace/glcas/www/ +RewriteBase /src/eclipse-workspace/gwvp/www/ RewriteRule ^index\.php.* - [L,B] -RewriteRule ^soap\.php.* - [L,B] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,B] 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 diff --git a/www/index.php b/www/index.php index 6c8f617..4f83001 100644 --- a/www/index.php +++ b/www/index.php @@ -3,4 +3,7 @@ // initial http file require_once("config.php"); + +echo "Hello moto"; + ?>