Fixing fatal errors.

1.10.x
Julio Montoya 11 years ago
parent 22f5734d72
commit 73ef65f787
  1. 15
      main/admin/settings.php

@ -10,25 +10,10 @@
* @package chamilo.admin
*/
/* INIT SECTION */
// Language files that need to be included.
if (isset($_GET['category']) && $_GET['category'] == 'Templates') {
$language_file = array('admin', 'document');
} else {
if (isset($_GET['category']) && $_GET['category'] == 'Gradebook') {
$language_file = array('admin', 'gradebook');
} else {
$language_file = array('admin', 'document');
}
}
$language_file[] = 'tracking';
// Resetting the course id.
$cidReset = true;
// Including some necessary library files.
require_once '../inc/global.inc.php';
require_once 'settings.lib.php';
// Setting the section (for the tabs).

Loading…
Cancel
Save