Something old needing checking in

This commit is contained in:
moodler 2006-01-05 06:28:57 +00:00
parent 3a398afcf1
commit 3699264c68

View file

@ -328,6 +328,11 @@
print_spacer(10,10); print_spacer(10,10);
} }
if (ini_get_bool('register_globals') && !ini_get_bool('magic_quotes_gpc')) {
print_simple_box(get_string('globalsquoteswarning', 'admin'), 'center');
}
/// If no recently cron run /// If no recently cron run
$lastcron = get_field_sql('SELECT max(lastcron) FROM ' . $CFG->prefix . 'modules'); $lastcron = get_field_sql('SELECT max(lastcron) FROM ' . $CFG->prefix . 'modules');
if (time() - $lastcron > 3600 * 24) { if (time() - $lastcron > 3600 * 24) {