Now scheduled bakup checks for required XML functions to work.
Bug 1432. Closed now... :-) (http://moodle.org/bugs/bug.php?op=show&bugid=1432)
This commit is contained in:
@@ -40,6 +40,12 @@ function cron_rss_feeds () {
|
||||
|
||||
echo " Generating rssfeeds...\n";
|
||||
|
||||
//Check for required functions...
|
||||
if(!function_exists('utf8_encode')) {
|
||||
echo " ERROR: You need to add XML support to your PHP installation!\n";
|
||||
return true;
|
||||
}
|
||||
|
||||
if ($allmods = get_records("modules") ) {
|
||||
foreach ($allmods as $mod) {
|
||||
echo ' '.$mod->name.': ';
|
||||
|
||||
Reference in New Issue
Block a user