Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorayushchd <ayushchd@gmail.com>2013-07-11 12:14:49 +0400
committerayushchd <ayushchd@gmail.com>2013-07-11 12:14:49 +0400
commitf7e9e262c161950355ee7af3b5732b01d37860a5 (patch)
treead91fe4ccce498de0c089531dc7b8bf106caf6c1 /setup
parent0558150dc5478379581b212a32dbcc7afff9e4c0 (diff)
Tests for setup/* and user_prefs*
Diffstat (limited to 'setup')
-rw-r--r--setup/lib/form_processing.lib.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/setup/lib/form_processing.lib.php b/setup/lib/form_processing.lib.php
index d9b6e6aea3..ed013896f6 100644
--- a/setup/lib/form_processing.lib.php
+++ b/setup/lib/form_processing.lib.php
@@ -21,7 +21,10 @@ function process_formset(FormDisplay $form_display)
// drop post data
header('HTTP/1.1 303 See Other');
header('Location: index.php');
- exit;
+ echo 'here';
+ if (!defined('TESTSUITE')) {
+ exit;
+ }
}
if (!$form_display->process(false)) {
// handle form view and failed POST
@@ -55,7 +58,9 @@ function process_formset(FormDisplay $form_display)
// drop post data
header('HTTP/1.1 303 See Other');
header('Location: index.php');
- exit;
+ if (!defined('TESTSUITE')) {
+ exit;
+ }
}
}
}