Mode with propagation of the skinning mode (Closes #1355).
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 9 Dec 2010 21:27:29 +0000 (22:27 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 9 Dec 2010 21:27:29 +0000 (22:27 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
core
htdocs/.htaccess.in

diff --git a/core b/core
index 668cbf4..7299bfc 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 668cbf42df8655290abfa1627250e593e1ff6cc7
+Subproject commit 7299bfcef8ccaffa52ecd0ca3adf92c84f79c248
index af51870..5e2ae43 100644 (file)
@@ -2,6 +2,10 @@ RewriteEngine on
 
 RewriteBase @REWRITE_BASE@
 
+# Rewrites static files from embedded/raw|light
+RewriteCond %{DOCUMENT_ROOT}/$2 -f
+RewriteRule ^(embedded/[^/]+/)(.*)$ $2 [L]
+
 # Rewrites URLs of the form 'index.php?q=x'.
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d