From: web Date: Mon, 18 Sep 2006 19:42:09 +0000 (+0000) Subject: fixes. X-Git-Tag: xorg/0.9.11~66 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2928c37784a8e56098e7fc59d03670dad643e43e;p=platal.git fixes. git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@854 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/htdocs/.htaccess b/htdocs/.htaccess index 779dae2..64297ef 100644 --- a/htdocs/.htaccess +++ b/htdocs/.htaccess @@ -1,7 +1,7 @@ Options +FollowSymLinks RewriteEngine on -RewriteBase /~x2003bruneau +RewriteBase / # Rewrite URLs of the form 'index.php?q=x': RewriteCond %{REQUEST_FILENAME} !-f diff --git a/htdocs/webredirect.php b/htdocs/webredirect.php index 95c478e..bd9e5a9 100644 --- a/htdocs/webredirect.php +++ b/htdocs/webredirect.php @@ -20,6 +20,7 @@ ***************************************************************************/ require_once dirname(__FILE__).'/../include/xorg.inc.php'; +require_once dirname(__FILE__).'/../classes/XDB.php'; list($username, $path) = preg_split('/\//', $_SERVER["REQUEST_URI"], 2, PREG_SPLIT_NO_EMPTY); $res = XDB::query(