Hello,
I'm developing modules for an IMS (Moodle) and, taking a look on the code, I've found something like this:
<?php //$Id: restore_check.html,v 1.48.2.6 2008/05/02 04:07:30 dongsheng Exp $
//This page receive all the restore_form data. Then, if existing course
//has been selected, shows a list of courses to select one.
//It cheks that the parammeter from restore_form are coherent.
//It puts all the restore info in the session.
//Finally, it calls restore_execute to do the hard work
//Get objects from session
if ($SESSION) {
$info = $SESSION->info;
$course_header = $SESSION->course_header;
if (isset($SESSION->restore)) {
$restore = $SESSION->restore;
}
}
...
$SESSION variable is being read, however, in that file SESSION variable is not assigned at any place, and no declaration before. What is the reason for that?
Greetings
PD: Maybe I've done a bad explanation of my problem. If anyone needs more info, I shall give him it.