diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2012-04-30 21:53:50 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2012-04-30 21:53:50 +0400 |
commit | 8243eace0f1bf6b22756ecada0f618b1c27a089f (patch) | |
tree | 459b8ef609cf32a5cfc173dad0e150c6fb6b91ba /url.php | |
parent | 8cad88ecf89281b661b198a95fbec4bd66f126cb (diff) |
Wrap some long lines
Diffstat (limited to 'url.php')
-rw-r--r-- | url.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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']); |