// Check wether we are installing
function isInstalling () {
// Determine wether we are installing
- if (!isset($GLOBALS[__FUNCTION__])) {
+ if (!isset($GLOBALS['mailer_installing'])) {
// Check URL (css.php/js.php need this)
- $GLOBALS[__FUNCTION__] = isGetRequestParameterSet('installing');
+ $GLOBALS['mailer_installing'] = isGetRequestParameterSet('installing');
} // END - if
// Return result
- return $GLOBALS[__FUNCTION__];
+ return $GLOBALS['mailer_installing'];
}
// Check wether this script is installed
* @access private
*/
function sendRawRedirect ($url) {
+ // Send helping header
+ setHttpStatus('302 Found');
+
// always close the session
session_write_close();