Hier die Änderungen, die ich bei mir vorgenommen habe.
\include\admin\newsletter.php
$prot = 'http://'; if (ishttps()) { $prot = 'https://'; } $xajax = new xajax($prot . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'] . '?newsletter=0');
Index: newsletter.php =================================================================== --- newsletter.php (revision 63) +++ newsletter.php (revision 64) @@ -70,7 +70,11 @@ return $objResponse; } -$xajax = new xajax('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'] . '?newsletter=0'); +$prot = 'http://'; +if (ishttps()) { + $prot = 'https://'; +} +$xajax = new xajax($prot . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'] . '?newsletter=0'); $xajax->configureMany(array('characterEncoding' => 'ISO-8859-1', 'decodeUTF8Input' => true)); $xajax->registerFunction('XAJAX_changeList');
ishttps() sollte in \include\includes\func\allg.php liegen:
# Determine if HTTPS is used. # bool True if HTTPS, false if not used. function ishttps() { return (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') || $_SERVER['SERVER_PORT'] == 443; }
verwendete ilch Version: 1.1 P