=== added file 'customerror.info'
--- customerror.info	1970-01-01 00:00:00 +0000
+++ customerror.info	2007-01-07 15:58:45 +0000
@@ -0,0 +1,3 @@
+; $Id$
+name = Custom Error
+description = 'Enables the creation of custom error pages for 404 and 403 errors.

=== modified file 'customerror.module'
--- customerror.module	2007-01-07 15:40:04 +0000
+++ customerror.module	2007-01-07 15:58:45 +0000
@@ -52,7 +52,7 @@
   return $output;
 }
 
-function customerror_settings()
+function customerror_admin_settings()
 {
   $form = array(
     'customerror_form_description' => array(
@@ -86,7 +86,7 @@
     );
   }
 
-  return $form;
+  return system_settings_form($form);
 }
 
 function customerror_menu($may_cache) {
@@ -94,6 +94,15 @@
 
   if ($may_cache) {
     $items[] = array(
+      'path' => 'admin/settings/customerror',
+      'title' => t('Custom error'),
+      'description' => t('Administer custom error.'),
+      'callback' => 'drupal_get_form',
+      'callback arguments' => array('customerror_admin_settings'),
+      'access' => user_access('administer site configuration'),
+      'type' => MENU_NORMAL_ITEM,
+    );
+    $items[] = array(
       'title'    => t('customerror'),
       'path'     => 'customerror',
       'access'   => TRUE,

