CustomPages : clearer explanation on global.inc.php requirement.

skala
jkbockstael 15 years ago
parent 5175c06ef2
commit 14175ce665
  1. 3
      custompages/language.inc.php

@ -4,7 +4,8 @@
// 2011, Jean-Karim Bockstael, CBlue <jeankarim@cblue.be> // 2011, Jean-Karim Bockstael, CBlue <jeankarim@cblue.be>
// This requires the Chamilo system to be initialized // This requires the Chamilo system to be initialized
require_once('/main/inc/global.inc.php'); // (note that it's easier to do the following include in the parent page)
// require_once('path/to/main/inc/global.inc.php');
// Returns the best match between available languages and visitor preferences // Returns the best match between available languages and visitor preferences
// return the best match as 2-chars code, null when none match // return the best match as 2-chars code, null when none match

Loading…
Cancel
Save