$username = '<em>{--_UNKNOWN--}</em>';
// Destroy session
- destroy_user_session();
+ destroyUserSession();
// Kill userid
setUserId(0);
}
// The header file
-LOAD_INC_ONCE('inc/header.php');
+loadIncludeOnce('inc/header.php');
// Modules are by default not valid!
$MOD_VALID = false; $check = 'failed';
case 'mem_only':
case 'done':
// Does the module exists on local file system?
- if ((FILE_READABLE(constant('__MODULE'))) && (getTotalFatalErrors() == 0)) {
+ if ((isFileReadable(constant('__MODULE'))) && (getTotalFatalErrors() == 0)) {
// Module is valid, active and located on the local disc...
$MOD_VALID = true;
} elseif (!empty($URL)) {
// An URL was specified so we load the de-referrer module
- LOAD_URL(DEREFERER($URL));
+ redirectToUrl(DEREFERER($URL));
} elseif (getTotalFatalErrors() == 0) {
addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('LANG_MOD_REG_404'), $GLOBALS['module']));
}
break;
case 'locked':
- if (!FILE_READABLE(constant('__MODULE'))) {
+ if (!isFileReadable(constant('__MODULE'))) {
// Module does addionally not exists
addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('LANG_MOD_REG_404'), $GLOBALS['module']));
} // END - if
/////////////////////////////////////////////
//
// Everything is okay so we can load the module
- LOAD_INC_ONCE(constant('__MODULE'));
+ loadIncludeOnce(constant('__MODULE'));
} // END - if
// Next-to-end add the footer
-LOAD_INC_ONCE('inc/footer.php');
+loadIncludeOnce('inc/footer.php');
//
?>