diff --git a/main/document/showinframes.php b/main/document/showinframes.php index a88fe5f54f..a62edd2eca 100755 --- a/main/document/showinframes.php +++ b/main/document/showinframes.php @@ -55,7 +55,7 @@ */ $language_file[] = 'document'; require_once '../inc/global.inc.php'; -require_once '../glossary/glossary.class.php'; +require_once(api_get_path(LIBRARY_PATH).'glossary.lib.php'); $language_file = 'document'; require_once '../inc/global.inc.php'; diff --git a/main/glossary/glossary_ajax_request.php b/main/glossary/glossary_ajax_request.php index 00e1406cc2..64c99c15a2 100755 --- a/main/glossary/glossary_ajax_request.php +++ b/main/glossary/glossary_ajax_request.php @@ -3,7 +3,8 @@ // including the global dokeos file require_once '../inc/global.inc.php'; -require_once '../glossary/glossary.class.php'; +require_once(api_get_path(LIBRARY_PATH).'glossary.lib.php'); + /* * search a term and return description from a glossary */ diff --git a/main/glossary/index.php b/main/glossary/index.php index 486760e767..0a614599c2 100755 --- a/main/glossary/index.php +++ b/main/glossary/index.php @@ -11,7 +11,7 @@ $language_file = array('glossary'); // including the global dokeos file require_once '../inc/global.inc.php'; -require_once 'glossary.class.php'; +require_once(api_get_path(LIBRARY_PATH).'glossary.lib.php'); // the section (tabs) $this_section=SECTION_COURSES; diff --git a/main/glossary/glossary.class.php b/main/inc/lib/glossary.lib.php similarity index 100% rename from main/glossary/glossary.class.php rename to main/inc/lib/glossary.lib.php