aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php/index.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/php/index.php b/php/index.php
index d1d4733..abb9671 100644
--- a/php/index.php
+++ b/php/index.php
@@ -43,16 +43,16 @@ if (!empty($_GET['os'])&&!empty($_GET['product'])) {
}
// LANGUAGE HACK
- if (!empty($_GET['lang'])) {
-//// $location['location_path'] = str_replace('x86',$_GET['lang'],$location['location_path']);
- $location['location_path'] = str_replace('en-US',$_GET['lang'],$location['location_path']);
- }
+ if (!empty($_GET['lang'])) {
+ //// $location['location_path'] = str_replace('x86',$_GET['lang'],$location['location_path']);
+ $location['location_path'] = str_replace('en-US',$_GET['lang'],$location['location_path']);
+ }
- // BitTorrent HACK - robbat2
- if (!empty($_GET['extra'])) {
- $extra = $_GET['extra'];
- $location['location_path'] .= preg_replace('/\?.*|&.*/','',$extra);
- }
+ // BitTorrent HACK - robbat2
+ if (!empty($_GET['extra'])) {
+ $extra = $_GET['extra'];
+ $location['location_path'] .= preg_replace('/\?.*|&.*/','',$extra);
+ }
// if we are just testing, then just print and exit.
if (!empty($_GET['print'])) {