]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 23 May 2011 17:05:20 +0000 (17:05 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 23 May 2011 17:05:20 +0000 (17:05 +0000)
inc/ws/Controlleur/class.ws.url.php

index a93eabf522bb8c183d8efb5063eceacdb3ba837e..df7bb0f80a9bdd15812717524d49dc7e3c2455d7 100644 (file)
@@ -432,7 +432,11 @@ html{height:100%}' . "\n";
                $e = explode('_', $args[0]);\r
                if (count($e) == 2 || $e[2] < TIME - 10) {\r
                        $e[2] = TIME;\r
-                       http::redirect(SITE_PATH . 'viewer/' . implode('_', $e) . '/' . $wmode);\r
+                       //http::redirect(SITE_PATH . 'viewer/' . implode('_', $e) . '/' . $wmode);\r
+                       $url = SITE_PATH . 'viewer/' . implode('_', $e) . '/' . $wmode . '/';\r
+                       $url = rtrim($url, '/').'/';\r
+                       ob_end_clean();\r
+                       echo '<script type="text/javascript">window.location=\'' . $url . '\'+window.location.hash;</script>';\r
                        exit;\r
                }\r
 \r