phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] setup applications.php,1.21.2.14


From: skwashd
Subject: [Phpgroupware-cvs] setup applications.php,1.21.2.14
Date: Mon, 29 Aug 2005 06:33:00 +0200

Update of setup

Modified Files:
     Branch: Version-0_9_16-branch
            applications.php lines: +8 -7

Log Message:
remove 'header already ...' error when clicking cancel

====================================================
Index: setup/applications.php
diff -u setup/applications.php:1.21.2.13 setup/applications.php:1.21.2.14
--- setup/applications.php:1.21.2.13    Sat Nov  6 16:13:46 2004
+++ setup/applications.php      Mon Aug 29 04:33:55 2005
@@ -12,6 +12,13 @@
   /* $Id$ */

        $DEBUG = $_POST['debug'] || $_GET['debug'];
+
+       if( isset($_POST['cancel']) && $_POST['cancel'] )
+       {
+               Header('Location: index.php');
+               exit;
+       }
+
        /*
         TODO: We allow a user to hose their setup here, need to make use
         of dependencies so they are warned that they are pulling the rug
@@ -107,12 +114,6 @@
        $setup_info = 
$GLOBALS['phpgw_setup']->detection->check_depends($setup_info);
        //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]