phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] setup applications.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] setup applications.php
Date: Wed, 22 Mar 2006 09:44:21 +0000

CVSROOT:        /sources/phpgroupware
Module name:    setup
Branch:         
Changes by:     Sigurd Nes <address@hidden>     06/03/22 09:44:21

Modified files:
        .              : applications.php 

Log message:
        fix for header already sent for Cancel-button

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/setup/applications.php.diff?tr1=1.25&tr2=1.26&r1=text&r2=text

Patches:
Index: setup/applications.php
diff -u setup/applications.php:1.25 setup/applications.php:1.26
--- setup/applications.php:1.25 Sun May 15 14:29:20 2005
+++ setup/applications.php      Wed Mar 22 09:44:20 2006
@@ -5,7 +5,7 @@
        * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package setup
-       * @version $Id: applications.php,v 1.25 2005/05/15 14:29:20 skwashd Exp 
$
+       * @version $Id: applications.php,v 1.26 2006/03/22 09:44:20 sigurdne 
Exp $
        */
 
        $DEBUG = $_POST['debug'] || $_GET['debug'];
@@ -28,6 +28,12 @@
         */
        include ('./inc/functions.inc.php');
 
+       if(@get_var('cancel',Array('POST')))
+       {
+               Header("Location: index.php");
+               exit;
+       }
+
        @set_time_limit(0);
 
        // Check header and authentication
@@ -117,11 +123,6 @@
        //var_dump($setup_info);exit;
        @ksort($setup_info);
 
-       if(@get_var('cancel',Array('POST')))
-       {
-               Header("Location: index.php");
-               exit;
-       }
 
        if(@get_var('submit',Array('POST')))
        {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]