diff --git a/cmi5setup.php b/cmi5setup.php index 4a7d7cb..dda63d0 100644 --- a/cmi5setup.php +++ b/cmi5setup.php @@ -22,7 +22,7 @@ */ -// NEeded for moodle pae. sets up loabl +// Needed for moodle page. require_once(dirname(dirname(dirname(__FILE__))) . '/config.php'); // Tell moodle about our page, tell it what the url is.\\ @@ -51,13 +51,7 @@ $playerpass = get_config('cmi5launch', 'cmi5launchbasepass'); $playerpass = null; -echo "
"; -echo"Settings are: "; -echo $playerurl . " "; -echo "
"; -echo $playername; -echo "
"; -echo $playerpass; + // If the settings are not set, then display the first form. if(!$playerurl || !$playername || !$playerpass){