Index: modules/system.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/system.module,v
retrieving revision 1.239
diff -u -r1.239 system.module
--- modules/system.module	9 Oct 2005 10:39:15 -0000	1.239
+++ modules/system.module	11 Oct 2005 02:10:32 -0000
@@ -102,7 +102,7 @@
 
     $items[] = array('path' => 'admin', 'title' => t('administer'),
       'access' => user_access('access administration pages'),
-      'callback' => 'watchdog_overview',
+      'callback' => '_system_adminpage',
       'weight' => 9);
 
     // Themes:
@@ -207,6 +207,17 @@
   return $zones;
 }
 
+function _system_adminpage () {
+  menu_set_active_item(variable_get('site_adminpage', 'admin/logs'));
+  $return = menu_execute_active_handler();
+
+  if (empty($return)) {
+    drupal_set_title(t('Page not found'));
+  }
+  return $return;
+}
+
+
 function system_view_general() {
   // General settings:
   $form['general'] = array(
@@ -242,6 +253,10 @@
     type => 'textfield', title => t('Default front page'), default_value => variable_get('site_frontpage', 'node'),
     description => t('The home page displays content from this relative URL.  If you are not using clean URLs, specify the part after "?q=".  If unsure, specify "node".')
   );
+  $form['general']['site_adminpage'] = array(
+    '#type' => 'textfield', '#title' => t('Default admin front page'), '#default_value' => variable_get('site_adminpage', 'admin/logs'),
+    '#description' => t('The admin home page displays content from this relative URL.  If you are not using clean URLs, specify the part after "?q=".  If unsure, specify "admin/logs".')
+  );
 
   // We check for clean URL support using an image on the client side.
   $form['general']['clean_url'] = array(
