Need help with some variables

Re: Need help with some variables

by Darren Smith -
Number of replies: 0
BTW, I used ($_SERVER['SCRIPT_FILENAME']=="/path/to/moodle/index.php") to test if the student is viewing a course main page and then present them with a course navigation in the header so thanks for posting approve. me() gave me the path with the id which was too specific!

Darren