apps/files/index.php 1 location
|
@@ 61-63 (lines=3) @@
|
| 58 |
|
|
| 59 |
|
$isIE8 = false; |
| 60 |
|
preg_match('/MSIE (.*?);/', $_SERVER['HTTP_USER_AGENT'], $matches); |
| 61 |
|
if (count($matches) > 0 && $matches[1] <= 9) { |
| 62 |
|
$isIE8 = true; |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
// if IE8 and "?dir=path&view=someview" was specified, reformat the URL to use a hash like "#?dir=path&view=someview" |
| 66 |
|
if ($isIE8 && (isset($_GET['dir']) || isset($_GET['view']))) { |
apps/files_sharing/settings-personal.php 1 location
|
@@ 30-32 (lines=3) @@
|
| 27 |
|
|
| 28 |
|
$isIE8 = false; |
| 29 |
|
preg_match('/MSIE (.*?);/', $_SERVER['HTTP_USER_AGENT'], $matches); |
| 30 |
|
if (count($matches) > 0 && $matches[1] <= 9) { |
| 31 |
|
$isIE8 = true; |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
$uid = \OC::$server->getUserSession()->getUser()->getUID(); |
| 35 |
|
$server = \OC::$server->getURLGenerator()->getAbsoluteURL('/'); |