]> andersk Git - sql-web.git/blobdiff - index.php
git-svn-id: svn://presbrey.mit.edu/php/lib@122 a142d4bd-2cfb-0310-9673-cb33a7e74f58
[sql-web.git] / index.php
index 7cceea03cfd527c5a17489ad1d76cb07f2175a0e..e8259684d013d8a624e47e291c8f7ee75c40c599 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -10,6 +10,8 @@ require_once('mitsql.cfg.php');
 require_once('mitsql.lib.php');
 
 isLoggedIn() && redirect('main');
+!DEBUG && $_SERVER['SERVER_NAME'] != 'sql.mit.edu' && redirect2('http://sql.mit.edu/');
+
 //$LoginSSL->canSignup() && redirect('signup');
 //redirect('login');
 
This page took 0.025311 seconds and 4 git commands to generate.