moving SECTION_GLOBAL in main_api.lib.php

skala
Julio Montoya 14 years ago
parent fe9555d716
commit 4cae5300e0
  1. 1
      main/inc/global.inc.php
  2. 1
      main/inc/lib/main_api.lib.php

@ -289,7 +289,6 @@ require_once $lib_path.'formvalidator/Rule/allowed_tags.inc.php';
// Before we call local.inc.php, let's define a global $this_section variable
// which will then be usable from the banner and header scripts
define('SECTION_GLOBAL', 'section_global');
$this_section = SECTION_GLOBAL;
// include the local (contextual) parameters of this course or section

@ -114,6 +114,7 @@ define('SECTION_TRACKING','session_my_space');
define('SECTION_SOCIAL', 'social');
define('SECTION_DASHBOARD', 'dashboard');
define('SECTION_REPORTS', 'reports');
define('SECTION_GLOBAL', 'global');
// CONSTANT name for local authentication source
define('PLATFORM_AUTH_SOURCE', 'platform');

Loading…
Cancel
Save