Index: includes/path.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/path.inc,v
retrieving revision 1.19.2.1
diff -u -r1.19.2.1 path.inc
--- path.inc	13 Oct 2008 21:06:41 -0000	1.19.2.1
+++ path.inc	23 Jan 2009 05:45:43 -0000
@@ -17,7 +17,7 @@
   if (!empty($_GET['q'])) {
     $_GET['q'] = drupal_get_normal_path(trim($_GET['q'], '/'));
   }
-  else {
+  elseif (!defined(MAINTENANCE_MODE)) {
     $_GET['q'] = drupal_get_normal_path(variable_get('site_frontpage', 'node'));
   }
 }
