X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Fwebredirect.php;h=0de8baa6992da1f7873455cd365c5e861c939d60;hb=22f0a0a857bc6ba3fedb543f580af5bc7a45ab42;hp=cca10b1d54ec87cf9a8584000c925200007f06d4;hpb=ebd515f95f03f8a87f9b846d65e179b39a535222;p=platal.git diff --git a/htdocs/webredirect.php b/htdocs/webredirect.php index cca10b1..0de8baa 100644 --- a/htdocs/webredirect.php +++ b/htdocs/webredirect.php @@ -19,7 +19,9 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ***************************************************************************/ -require_once dirname(__FILE__).'/../include/xorg.inc.php'; +require_once 'xorg.inc.php'; + +new Platal('core'); global $globals; list($username, $path) = preg_split('/\//', $_SERVER["REQUEST_URI"], 2, PREG_SPLIT_NO_EMPTY); @@ -53,5 +55,7 @@ header("HTTP/1.0 404 Not Found");
Apache Server at www.carva.org Port 80
+ +