@ -31,21 +31,6 @@
===============================================================================
*/
/*
==============================================================================
MAIN API EXTENSIONS
==============================================================================
*/
// Including extensions to the main API works in two different ways:
if (api_get_path(LIBRARY_PATH) == '/lib/') {
// when we are running the installer script.
require_once 'multibyte_string_functions.lib.php';
} else {
// when the system has been already installed, this is the usual way.
require_once api_get_path(LIBRARY_PATH).'multibyte_string_functions.lib.php';
}
/**
==============================================================================
* This is a code library for Dokeos.
@ -181,6 +166,21 @@ define('DIR_HOTPOTATOES','/HotPotatoes_files');
// true whether the server runs on Windows OS, false otherwise.
define ('IS_WINDOWS_OS', api_is_windows_os());
/*
==============================================================================
MAIN API EXTENSIONS
==============================================================================
*/
// Including extensions to the main API works in two different ways:
if (api_get_path(LIBRARY_PATH) == '/lib/') {
// when we are running the installer script.
require_once 'multibyte_string_functions.lib.php';
} else {
// when the system has been already installed, this is the usual way.
require_once api_get_path(LIBRARY_PATH).'multibyte_string_functions.lib.php';
}
/*
==============================================================================
PROTECTION FUNCTIONS