// Set module
$GLOBALS['__module'] = 'beg';
-$GLOBALS['output_mode'] = -1;
+$GLOBALS['output_mode'] = '0';
$errorCode = NULL;
// Load the required file(s)
// Set module
$GLOBALS['__module'] = 'birthday_confirm';
-$GLOBALS['output_mode'] = -1;
+$GLOBALS['output_mode'] = '0';
// Load the required file(s)
require('inc/config-global.php');
// Set module
$GLOBALS['__module'] = 'img';
-$GLOBALS['output_mode'] = -1;
+$GLOBALS['output_mode'] = -3;
// Load the required file(s)
require('inc/config-global.php');
return (getScriptOutputMode() == -2);
}
+// Wrapper to check if output mode is image
+function isImageOutputMode () {
+ // Determine it
+ return (getScriptOutputMode() == -3);
+}
+
// Wrapper to generate a user email link
function generateWrappedUserEmailLink ($email) {
// Just call the inner function
// Tell everyone we are in this module
$GLOBALS['__module'] = 'mailid';
-$GLOBALS['output_mode'] = -1;
+$GLOBALS['output_mode'] = '0';
$errorCode = '';
// Load the required file(s)
// Tell everyone we are in this module
$GLOBALS['__module'] = 'mailid';
-$GLOBALS['output_mode'] = -1;
+$GLOBALS['output_mode'] = '0';
// Load the required file(s)
require('inc/config-global.php');
// Set module
$GLOBALS['__module'] = 'network-vcheck';
-$GLOBALS['output_mode'] = -1;
+$GLOBALS['output_mode'] = '0';
// Load the required file(s)
require('inc/config-global.php');