* Kurzbeschreibung : Wrapper-Funktionen *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2015 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Set session
$status = setSession('admin_md5', $adminMd5);
+ // Remove cache to get correct results
+ unset($GLOBALS['isAdmin']);
+
// Return status
return $status;
}
* @access private
*/
function sendRawRedirect ($url) {
+ //* DEBUG-DIE */ die(__METHOD__ . ':url=' . $url);
+
// Clear output buffer
clearOutputBuffer();
// Revert entity &
$url = str_replace('&', '&', $url);
+ //* DEBUG-DIE */ die(__METHOD__ . ':url=' . $url);
// check if running on IIS < 6 with CGI-PHP
if ((isset($_SERVER['SERVER_SOFTWARE'])) && (isset($_SERVER['GATEWAY_INTERFACE'])) &&
// "Compiles" the given value and sets it in given key
function setSessionCompiled ($key, $value) {
- // "Compile" the value
- $value = doFinalCompilation(compileRawCode($value));
+ // Debug message
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'key[]=' . gettype($key) . ',value[]=' . gettype($value));
+
+ // Is the value not an array?
+ if (!is_array($value)) {
+ // "Compile" the value
+ $value = doFinalCompilation(compileRawCode($value));
+ } // END - if
// And set it
return setSession($key, $value);