Skip to content
Permalink
Browse files

Include extra language file main/lang/xxx/custom.php if exists BT#15327

  • Loading branch information...
jmontoyaa committed Apr 3, 2019
1 parent 29b90d5 commit 14112742a5225e5b4ca93af39ba15d1af8d305e2
Showing with 7 additions and 0 deletions.
  1. +7 −0 main/inc/global.inc.php
@@ -555,6 +555,13 @@
if (file_exists($langfile)) {
include $langfile;
}
// Check if language/custom.php exists
$customLanguage = $langpath.$language_interface.'/custom.php';
if (file_exists($customLanguage)) {
include $customLanguage;
}
}
// include the local (contextual) parameters of this course or section

0 comments on commit 1411274

Please sign in to comment.
You can’t perform that action at this time.