]> git.mjollnir.org Git - moodle.git/commit
MDL-8323 Add proper setup of course $CFG variables, fix use of global $COURSE
authorskodak <skodak>
Sat, 27 Jan 2007 19:56:08 +0000 (19:56 +0000)
committerskodak <skodak>
Sat, 27 Jan 2007 19:56:08 +0000 (19:56 +0000)
commitdcf6d93c9c767358137142168df4e1eb54090318
tree0e791cfe4f478575cbeebab0f8aa896bf43dcbe1
parentcce6f1bd1a2b58624189d60e3c4a13be52e645d1
MDL-8323 Add proper setup of course $CFG variables, fix use of global $COURSE
new function course_setup() thats does proper $CFG-> , locale and themes setup much sooner than print_header() originally (needed for MDL-8067), cleanup of forgotten global $course issues

MDL-8067 Fixed several $HTTPSREQUIRED issues - html editor now loads from https (the old hack did not wotk with IE7, new hack is uglier but works), fixed formlibs images (we can not set them in library global scope, we must wait for httpsrequired() and require_login() and od that in function), fixed links in meta.php, fixed help images

fixed setting of new $USER values in user edit forms
12 files changed:
lib/editor/htmlarea/htmlarea.php
lib/formslib.php
lib/moodlelib.php
lib/setup.php
lib/weblib.php
login/change_password.php
mod/forum/post.php
mod/resource/type/file/resource.class.php
mod/resource/type/repository/resource.class.php
theme/standard/meta.php
user/edit.php
user/editadvanced.php