@@ -59,8 +59,8 @@ |
||
| 59 | 59 | return array($address); |
| 60 | 60 | } |
| 61 | 61 | $ret = array(); |
| 62 | - $ret[0] = trim(substr($address, $pos+1), '>'); |
|
| 63 | - $ret[1] = substr($address, 0, $pos-1); |
|
| 62 | + $ret[0] = trim(substr($address, $pos + 1), '>'); |
|
| 63 | + $ret[1] = substr($address, 0, $pos - 1); |
|
| 64 | 64 | return $ret; |
| 65 | 65 | } |
| 66 | 66 | |
@@ -14,8 +14,8 @@ |
||
| 14 | 14 | /** |
| 15 | 15 | * This cron script recompiles the Browscap cache |
| 16 | 16 | */ |
| 17 | -ini_set('memory_limit','-1'); // turn off memory limit for this script |
|
| 18 | -set_time_limit(120); // change to 2 minutes for this script |
|
| 17 | +ini_set('memory_limit', '-1'); // turn off memory limit for this script |
|
| 18 | +set_time_limit(120); // change to 2 minutes for this script |
|
| 19 | 19 | |
| 20 | 20 | require('libs/browscap-php/src/phpbrowscap/Browscap.php'); |
| 21 | 21 | |
@@ -727,7 +727,7 @@ |
||
| 727 | 727 | */ |
| 728 | 728 | private function addJSGlobals() |
| 729 | 729 | { |
| 730 | - $this->body = $this->body.'<script> |
|
| 730 | + $this->body = $this->body.'<script> |
|
| 731 | 731 | var profilesUrl = \''.$this->profilesUrl.'\' |
| 732 | 732 | var loginUrl = \''.$this->loginUrl.'\' |
| 733 | 733 | var logoutUrl = \''.$this->logoutUrl.'\' |