Fixing wrong redirection, already blocked by the admin role.

skala
Julio Montoya 12 years ago
parent 8e481ae1b6
commit 081840c3b0
  1. 4
      main/admin/index.php

@ -10,11 +10,11 @@
// Language files that need to be included. // Language files that need to be included.
$language_file = array('admin', 'tracking','coursebackup'); $language_file = array('admin', 'tracking','coursebackup');
/*
if (api_is_question_manager()) { if (api_is_question_manager()) {
header('Location: '.api_get_path(WEB_PUBLIC_PATH).'admin/questionmanager'); header('Location: '.api_get_path(WEB_PUBLIC_PATH).'admin/questionmanager');
exit; exit;
} }*/
// Setting the section (for the tabs). // Setting the section (for the tabs).
$this_section = SECTION_PLATFORM_ADMIN; $this_section = SECTION_PLATFORM_ADMIN;

Loading…
Cancel
Save