throttle_menu
modules/throttle/throttle.module, строка 8
- Версии
- 5
throttle_menu(
$may_cache)- 6
throttle_menu()
Код
<?php
function throttle_menu($may_cache) {
$items = array();
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' => 'drupal_get_form',
'callback arguments' => array('throttle_admin_settings'),
'access' => user_access('administer site configuration'),
'type' => MENU_NORMAL_ITEM
);
}
return $items;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии