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.15


From: skwashd
Subject: [Phpgroupware-cvs] setup applications.php,1.21.2.15
Date: Sun, 4 Dec 2005 11:17:00 +0100

Update of setup

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

Log Message:
fix bug #9682

====================================================
Index: setup/applications.php
diff -u setup/applications.php:1.21.2.14 setup/applications.php:1.21.2.15
--- setup/applications.php:1.21.2.14    Mon Aug 29 04:33:55 2005
+++ setup/applications.php      Sun Dec  4 10:17:34 2005
@@ -13,12 +13,6 @@

        $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
@@ -39,10 +33,16 @@
        // Check header and authentication
        if (!$GLOBALS['phpgw_setup']->auth('Config'))
        {
+               // Does not return unless user is authorized
                Header('Location: index.php');
                exit;
        }
-       // Does not return unless user is authorized
+
+       if( isset($_POST['cancel']) && $_POST['cancel'] )
+       {
+               Header("Location: index.php");
+               exit;
+       }

        $ConfigDomain = get_var('ConfigDomain',Array('POST','COOKIE'));







reply via email to

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