Permalink
Browse files

Removed optional_param

  • Loading branch information...
moodler
moodler committed Dec 6, 2005
1 parent c534ba0 commit 736d441da305e179be770158b60584a46ebb6858
Showing with 21 additions and 7 deletions.
  1. +21 −7 auth/cas/config.html
View
@@ -1,13 +1,27 @@
<?php
require_once('languages.php');
// Initialize vars
optional_variable($config->cas_hostname,"");
optional_variable($config->cas_port,"");
optional_variable($config->cas_version,"");
optional_variable($config->cas_baseuri,"");
optional_variable($config->cas_language,"");
optional_variable($config->cas_use_cas,"");
optional_variable($config->cas_create_user,"0");
if (!isset ($config->cas_hostname)) {
$config->cas_hostname = "";
}
if (!isset ($config->cas_port)) {
$config->cas_port = "";
}
if (!isset ($config->cas_version)) {
$config->cas_version = "";
}
if (!isset ($config->cas_baseuri)) {
$config->cas_baseuri = "";
}
if (!isset ($config->cas_language)) {
$config->cas_language = "";
}
if (!isset ($config->cas_use_cas)) {
$config->cas_use_cas = "";
}
if (!isset ($config->cas_create_user)) {
$config->cas_create_user = "0";
}
?>

0 comments on commit 736d441

Please sign in to comment.