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