]> git.mjollnir.org Git - moodle.git/commit
OK a number of small changes here.
authormoodler <moodler>
Sun, 5 Jan 2003 06:45:20 +0000 (06:45 +0000)
committermoodler <moodler>
Sun, 5 Jan 2003 06:45:20 +0000 (06:45 +0000)
commit607809b3bafb9e49c6d8e5107c8a794fe6fb8ea5
tree213d053ed5b5c13ec29fcd8e4ada399dfe52aa07
parent3b7c1de95eea15feb495d1212ac8face80af4c0e
OK a number of small changes here.

Firstly, I'm replacing all use of old-style global variables like
$HTTY_REFERER with their new-style equivalent $_SERVER["HTTP_REFERER"]
Also using $_POST instead $HTTP_POST_VARS  etc

Secondly, if gdversion == 0 (ie GD is not installed) then:

 - users are not even allowed to upload new images
 - graphs now just print a message instead of failing.

this allows Moodle to still be used even if GD is not present
25 files changed:
admin/lang.php
course/lib.php
course/loginas.php
course/mod.php
files/index.php
lang/en/forum.php
lang/en/moodle.php
lib/moodlelib.php
lib/weblib.php
login/index.php
mod/forum/lib.php
mod/forum/post.php
mod/forum/rate.php
mod/forum/subscribe.php
mod/journal/edit.php
mod/quiz/edit.php
mod/resource/details.php
mod/survey/details.php
mod/survey/lib.php
mod/survey/report.php
mod/survey/save.php
mod/survey/view.php
user/edit.html
user/edit.php
user/lib.php