summaryrefslogtreecommitdiff
path: root/modules/throttle/throttle.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-07-31 11:25:55 +0000
committerDries Buytaert <dries@buytaert.net>2006-07-31 11:25:55 +0000
commitb138793b6890a16ec87107779392e4fb0c4cfc8f (patch)
tree50cb488c27cabba23a3116e72aa3e970617a8048 /modules/throttle/throttle.module
parent3a7b64ae03242d09685ad2a2e82c9657f7fa85e6 (diff)
downloadbrdo-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.module5
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 &gt;&gt; block</a>.</li>
<li>administer throttle at <a href="%admin-settings-throttle">administer &gt;&gt; settings &gt;&gt; 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.');