From: skodak Date: Wed, 27 Sep 2006 10:30:54 +0000 (+0000) Subject: fixed default proxyport value X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=421f60f9c98e9a6851aba7cf0409442cc052e63a;p=moodle.git fixed default proxyport value --- diff --git a/admin/settings/server.php b/admin/settings/server.php index 2ec29cd4ab..ea00ad01dc 100644 --- a/admin/settings/server.php +++ b/admin/settings/server.php @@ -124,7 +124,7 @@ $temp = new admin_settingpage('http', get_string('http', 'admin')); $temp->add(new admin_setting_configtext('framename', get_string('framename', 'admin'), get_string('configframename', 'admin'), '_top', PARAM_ALPHAEXT)); $temp->add(new admin_Setting_configcheckbox('slasharguments', get_string('slasharguments', 'admin'), get_string('configslasharguments', 'admin'), 1)); $temp->add(new admin_setting_configtext('proxyhost', get_string('proxyhost', 'admin'), get_string('configproxyhost', 'admin'), '', PARAM_HOST)); -$temp->add(new admin_setting_configtext('proxyport', get_string('proxyport', 'admin'), get_string('configproxyport', 'admin'), '', PARAM_INT)); +$temp->add(new admin_setting_configtext('proxyport', get_string('proxyport', 'admin'), get_string('configproxyport', 'admin'), 0, PARAM_INT)); $ADMIN->add('server', $temp); $ADMIN->add('server', new admin_externalpage('sitefiles', get_string('sitefiles'), $CFG->wwwroot . '/files/index.php?id=' . SITEID));