- // Loading patching system is required here...
- loadIncludeOnce('inc/patch-system.php');
-
- // Run daily reset
- loadIncludeOnce('inc/check-reset.php');
-
- // Load admin include file if he is admin
- if (IS_ADMIN()) {
- // Administrative functions
- loadIncludeOnce('inc/modules/admin/admin-inc.php');
- } // END - if
- //* DEBUG: */ ADD_POINTS_REFSYSTEM('test', 36, 1000);
- //* DEBUG: */ die();
-
- // Get all values
- if ((getOutputMode() != 1) && (getOutputMode() != -1)) {
- if (!isModuleSet()) setModule('empty');
- if (!isWhatSet()) setWhat(getWhatFromModule(getModule()));
- if (!isActionSet()) setAction(getModeAction(getModule(), getWhat()));
- } else {
- // Set action/what to empty
- setAction('');
- setWhat('');
- }