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
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2012-04-30 21:53:50 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2012-04-30 21:53:50 +0400
commit8243eace0f1bf6b22756ecada0f618b1c27a089f (patch)
tree459b8ef609cf32a5cfc173dad0e150c6fb6b91ba /url.php
parent8cad88ecf89281b661b198a95fbec4bd66f126cb (diff)
Wrap some long lines
Diffstat (limited to 'url.php')
-rw-r--r--url.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/url.php b/url.php
index 23f3ac5b76..56cce845ce 100644
--- a/url.php
+++ b/url.php
@@ -9,7 +9,9 @@
*/
require_once './libraries/common.inc.php';
-if (! PMA_isValid($_GET['url']) || ! preg_match('/^https?:\/\/[^\n\r]*$/', $_GET['url'])) {
+if (! PMA_isValid($_GET['url'])
+ || ! preg_match('/^https?:\/\/[^\n\r]*$/', $_GET['url'])
+) {
header('Location: ' . $cfg['PmaAbsoluteUri']);
} else {
header('Location: ' . $_GET['url']);