1 |
commit: 0bd5605997c5c45b631f75606cfe87544c5e3082 |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 10 06:38:38 2018 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 10 06:38:38 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/bouncer.git/commit/?id=0bd56059 |
7 |
|
8 |
php: fix whitespace. |
9 |
|
10 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
11 |
|
12 |
php/index.php | 18 +++++++++--------- |
13 |
1 file changed, 9 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/php/index.php b/php/index.php |
16 |
index d1d4733..abb9671 100644 |
17 |
--- a/php/index.php |
18 |
+++ b/php/index.php |
19 |
@@ -43,16 +43,16 @@ if (!empty($_GET['os'])&&!empty($_GET['product'])) { |
20 |
} |
21 |
|
22 |
// LANGUAGE HACK |
23 |
- if (!empty($_GET['lang'])) { |
24 |
-//// $location['location_path'] = str_replace('x86',$_GET['lang'],$location['location_path']); |
25 |
- $location['location_path'] = str_replace('en-US',$_GET['lang'],$location['location_path']); |
26 |
- } |
27 |
+ if (!empty($_GET['lang'])) { |
28 |
+ //// $location['location_path'] = str_replace('x86',$_GET['lang'],$location['location_path']); |
29 |
+ $location['location_path'] = str_replace('en-US',$_GET['lang'],$location['location_path']); |
30 |
+ } |
31 |
|
32 |
- // BitTorrent HACK - robbat2 |
33 |
- if (!empty($_GET['extra'])) { |
34 |
- $extra = $_GET['extra']; |
35 |
- $location['location_path'] .= preg_replace('/\?.*|&.*/','',$extra); |
36 |
- } |
37 |
+ // BitTorrent HACK - robbat2 |
38 |
+ if (!empty($_GET['extra'])) { |
39 |
+ $extra = $_GET['extra']; |
40 |
+ $location['location_path'] .= preg_replace('/\?.*|&.*/','',$extra); |
41 |
+ } |
42 |
|
43 |
// if we are just testing, then just print and exit. |
44 |
if (!empty($_GET['print'])) { |