]> andersk Git - sql-web.git/blobdiff - index.php
redirect fixes
[sql-web.git] / index.php
index e8474a6aa5a22460b2f9bf4819499dc460eb9d52..e018d836fa854602d8beff51243635c88fd7b09b 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -9,6 +9,7 @@
 require_once('mitsql.cfg.php');
 require_once('mitsql.lib.php');
 
+if (substr(URI, -strlen('do/index')) != 'do/index') redirect('main/do/index');
 isLoggedIn() && redirect('main');
 !DEVEL && $_SERVER['SERVER_NAME'] != 'sql.mit.edu' && redirect2('http://sql.mit.edu/');
 
This page took 0.024215 seconds and 4 git commands to generate.