Permalink
Browse files

MDL-33318 use $CFG->admin in path correctly - thanks to Clarence Prud…

…hoe for report/fix
  • Loading branch information...
danmarsden committed May 24, 2012
1 parent 2ddb941 commit ffb830f58e3a4b9d6fe190b39a4676a6d42c929b
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cronlib.php
View
@@ -424,7 +424,7 @@ function cron_run() {
//Run registration updated cron
mtrace(get_string('siteupdatesstart', 'hub'));
- require_once($CFG->dirroot . '/admin/registration/lib.php');
+ require_once($CFG->dirroot . "/$CFG->admin/registration/lib.php");
$registrationmanager = new registration_manager();
$registrationmanager->cron();
mtrace(get_string('siteupdatesend', 'hub'));

0 comments on commit ffb830f

Please sign in to comment.