diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-07-31 11:25:55 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-07-31 11:25:55 +0000 |
commit | b138793b6890a16ec87107779392e4fb0c4cfc8f (patch) | |
tree | 50cb488c27cabba23a3116e72aa3e970617a8048 /modules/throttle/throttle.module | |
parent | 3a7b64ae03242d09685ad2a2e82c9657f7fa85e6 (diff) | |
download | brdo-b138793b6890a16ec87107779392e4fb0c4cfc8f.tar.gz brdo-b138793b6890a16ec87107779392e4fb0c4cfc8f.tar.bz2 |
- Patch #72079 by Earl et al: give Drupal an overall administration page ... :-)
Diffstat (limited to 'modules/throttle/throttle.module')
-rw-r--r-- | modules/throttle/throttle.module | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/throttle/throttle.module b/modules/throttle/throttle.module index 56f147e26..52aa2ddfc 100644 --- a/modules/throttle/throttle.module +++ b/modules/throttle/throttle.module @@ -12,6 +12,7 @@ function throttle_menu($may_cache) { if ($may_cache) { $items[] = array( 'path' => 'admin/settings/throttle', + 'description' => t('Control how your site cuts out content during heavy load.'), 'title' => t('throttle'), 'callback' => 'throttle_admin_settings', 'access' => user_access('administer site configuration'), @@ -128,10 +129,10 @@ function throttle_help($section) { <li>enable throttle for blocks at <a href="%admin-block">administer >> block</a>.</li> <li>administer throttle at <a href="%admin-settings-throttle">administer >> settings >> throttle</a>.</li> </ul> -', array('%admin-modules' => url('admin/modules'), '%admin-block' => url('admin/block'), '%admin-settings-throttle' => url('admin/settings/throttle'))); +', array('%admin-modules' => url('admin/settings/modules'), '%admin-block' => url('admin/build/block'), '%admin-settings-throttle' => url('admin/settings/throttle'))); $output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="%throttle">Throttle page</a>.', array('%throttle' => 'http://drupal.org/handbook/modules/throttle/')) .'</p>'; return $output; - case 'admin/modules#description': + case 'admin/settings/modules#description': return t('Handles the auto-throttling mechanism, to control site congestion.'); case 'admin/settings/throttle': return t('If your site gets linked to by a popular website, or otherwise comes under a "Denial of Service" (DoS) attack, your webserver might become overwhelmed. This module provides a congestion control throttling mechanism for automatically detecting a surge in incoming traffic. This mechanism is utilized by other Drupal modules to automatically optimize their performance by temporarily disabling CPU-intensive functionality.'); |