RewriteEngine on\r
RewriteBase /\r
\r
- # Dev\r
- RewriteCond %{HTTP_HOST} dev.ws.fluidbook.com\r
- RewriteRule ^(.*)$ http://workshop.fluidbook.com/$1 [R=301]\r
-\r
# Favicon\r
RewriteCond %{HTTP_HOST} cubedesigners\r
RewriteRule ^favicon.ico$ images/extranet/favicon.ico [L]\r
RewriteCond %{HTTP_HOST} fluidbook\r
RewriteRule ^favicon.ico$ images/ws/favicon.ico [L]\r
\r
- # Skip\r
- RewriteRule ^phpMyAdmin - [L]\r
- #RewriteRule ^books - [L]\r
- #RewriteRule ^docs - [L]\r
-\r
RewriteRule ^ajax/supprimeFichier/([0-9]+)/(.*)$ index.php/ajax/supprimeFichier/$1/$2 [L]\r
RewriteRule ^telecharger/([0-9a-fA-F]+)/([0-9]+)/(.*)$ index.php/telecharger/$1/$2/$3 [L]\r
RewriteRule ^telechargerr/([0-9a-fA-F]+)/([0-9]+)/(.*)$ index.php/telechargerr/$1/$2/$3 [L]\r
\r
$fv = array(session_name() => session_id(),\r
'book_id' => $book_id,\r
- 'hash' => $hash);\r
+ 'hash' => $hash,\r
+ 'url' => '/');\r
\r
$mtime = filemtime(ROOT . '/swf/composer.swf');\r
return cubeMedia::flash2(WEBROOT . '/swf/composer.swf?junk=' . $mtime, '100%', '100%', $fv, 'composerSwf', 'swfPanel', 10, '#d2d3c7', '', 'false', 'noscale', 'normal', array(), false, true, false);\r