function _systeminfo_admin_overview_php in System Information 7.3
Same name and namespace in other branches
- 6.3 systeminfo.admin.inc \_systeminfo_admin_overview_php()
1 call to _systeminfo_admin_overview_php()
- systeminfo_admin_overview in ./
systeminfo.admin.inc - Menu callback; displays the overview page.
File
- ./
systeminfo.admin.inc, line 135 - Admin page callbacks for the systeminfo module.
Code
function _systeminfo_admin_overview_php() {
$rows = array();
$rows[] = array(
t('Version'),
phpversion(),
);
$rows[] = array(
t('Magic quotes GPC'),
ini_get('magic_quotes_gpc') ? t('On') : t('Off'),
);
$rows[] = array(
t('Magic quotes runtime'),
ini_get('magic_quotes_runtime') ? t('On') : t('Off'),
);
$rows[] = array(
t('Max execution time'),
ini_get('max_execution_time'),
);
$rows[] = array(
t('Max input time'),
ini_get('max_input_time'),
);
$rows[] = array(
t('Memory limit'),
ini_get('memory_limit'),
);
$rows[] = array(
t('Post max size'),
ini_get('post_max_size'),
);
$rows[] = array(
t('Register globals'),
ini_get('register_globals') ? t('On') : t('Off'),
);
$rows[] = array(
t('Safe mode'),
ini_get('safe_mode') ? t('On') : t('Off'),
);
$cookie_params = session_get_cookie_params();
$rows[] = array(
t('Session cookie domain'),
$cookie_params['domain'],
);
$rows[] = array(
t('Upload max filesize'),
ini_get('upload_max_filesize'),
);
return theme('table', array(
'header' => array(),
'rows' => $rows,
'attributes' => array(
'class' => array(
'systeminfo',
'systeminfo-width50',
),
),
));
}