// Unset/set session variables
function setSession ($var, $value) {
// Abort in CSS mode here
- if (getOutputMode() == 1) return true;
+ if (isCssOutputMode()) return true;
// Trim value and session variable
$var = trim(secureString($var)); $value = trim($value);