[dev] Re: [cvs] commit: horde index.php imp redirect.php imp/lib Session.php

Ben Chavet ben at chavet.net
Tue Jan 27 11:15:39 PST 2004


>   I obviously spoke way too soon on the frameset/login issues. This
>   commit gets us closer. Not gonna promise anything this time. :)

This should help :)

We were losing the frame when 'always' was set to true.  Just had to flip the
conditions.

--Ben
-------------- next part --------------
Index: login.php
===================================================================
RCS file: /repository/horde/login.php,v
retrieving revision 2.147
diff -u -r2.147 login.php
--- login.php	26 Jan 2004 02:27:10 -0000	2.147
+++ login.php	27 Jan 2004 19:06:41 -0000
@@ -89,7 +89,7 @@
             $horde_url = Horde::applicationUrl('index.php', true);
         }
 
-        $horde_url = Util::addParameter($horde_url, 'frameset', Util::getFormData('frameset') ? 1 : 0);
+        $horde_url = Util::addParameter($horde_url, 'frameset', Util::getFormData('frameset') ? 0 : 1);
         header('Location: ' . $horde_url);
         exit;
     } else {


More information about the dev mailing list