From 033a0d008f1795b912a6d6c034e9eb45584d0410 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 11 Apr 2011 13:41:49 +0000 Subject: [PATCH] --- .htaccess | 3 +++ fluidbook/compile/index.html | 2 +- inc/ws/Controlleur/class.ws.url.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index f54024048..06c506ed7 100644 --- a/.htaccess +++ b/.htaccess @@ -33,14 +33,17 @@ AddCharset UTF-8 log RewriteRule ^viewer/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/index.html$ viewer/$1_$2_$3/index [L] RewriteRule ^viewer/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/index.swf$ fluidbook/compile/index.swf [L] RewriteRule ^viewer/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/player.swf$ fluidbook/compile/player.swf [L] + RewriteRule ^viewer/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/fluidbook.js$ fluidbook/compile/fluidbook.js [L] RewriteRule ^viewer/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/(.+)$ fluidbook/books/final/$1/$4 [L] RewriteRule ^vieweru/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/index.html$ vieweru/$1_$2_$3/index [L] RewriteRule ^vieweru/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/index.swf$ fluidbook/compile/_unprotected/index.swf [L] RewriteRule ^vieweru/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/player.swf$ fluidbook/compile/_unprotected/player.swf [L] + RewriteRule ^vieweru/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/fluidbook.js$ fluidbook/compile/fluidbook.js [L] RewriteRule ^vieweru/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/(.+)$ fluidbook/books/final/$1/$4 [L] RewriteRule ^viewerp/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/index.html$ viewerp/$1_$2_$3/index [L] RewriteRule ^viewerp/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/index.swf$ fluidbook/compile/_standalone/player.swf [L] + RewriteRule ^viewerp/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/fluidbook.js$ fluidbook/compile/fluidbook.js [L] RewriteRule ^viewerp/([0-9]+)_([0-9a-fA-F]+)_([0-9]+)/(.+)$ fluidbook/books/final/$1/$4 [L] \ No newline at end of file diff --git a/fluidbook/compile/index.html b/fluidbook/compile/index.html index a90526aa1..f887b5991 100644 --- a/fluidbook/compile/index.html +++ b/fluidbook/compile/index.html @@ -14,7 +14,7 @@ $redirectScript
$alt
- $ga diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index 6d1b984a7..4c5f6d734 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -476,7 +476,7 @@ html{height:100%}' . "\n"; $res .= '{"allowScriptAccess":"always","quality":"high","scale":"noscale","wmode":getWmode(),"allowFullScreen":"true"},{"bgcolor":"#000000"}'; $res .= ');'; $res .= ''; - $js = array($webcompile . 'fluidbook.js'); + $js = array('fluidbook.js'); $jsvar = array(); $gacodes = array(GA); -- 2.39.5