]> git.mxchange.org Git - mailer.git/blobdiff - inc/session-functions.php
'what','action','module' and 'output_mode' wrapped into functions (WARNUNG: Code...
[mailer.git] / inc / session-functions.php
index a2d1e8c22bc8b2f623b35ee4b26cd1f485c47c2d..495c36625f5aebd49d607012538dc3847f472a5a 100644 (file)
@@ -45,7 +45,7 @@ if (!defined('__SECURITY')) {
 // Unset/set session variables
 function setSession ($var, $value) {
        // Abort in CSS mode here
-       if ($GLOBALS['output_mode'] == 1) return true;
+       if (getOutputMode() == 1) return true;
 
        // Trim value and session variable
        $var = trim(SQL_ESCAPE($var)); $value = trim($value);