aboutsummaryrefslogtreecommitdiffstats
path: root/web/staticrender.php
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2011-05-09 07:32:30 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2011-05-09 07:32:30 -0400
commit3471f848e6cbdbbd24e2e6552e3f3c6b9398811a (patch)
tree765c78c277ca2e1baa26e9254cbdf12a502e337d /web/staticrender.php
parentAdd server executer based on htmlunit. (diff)
downloadPhotoFloat-3471f848e6cbdbbd24e2e6552e3f3c6b9398811a.tar.xz
PhotoFloat-3471f848e6cbdbbd24e2e6552e3f3c6b9398811a.zip
Integrate static rendering.
Diffstat (limited to 'web/staticrender.php')
-rw-r--r--web/staticrender.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/staticrender.php b/web/staticrender.php
new file mode 100644
index 0000000..8994662
--- /dev/null
+++ b/web/staticrender.php
@@ -0,0 +1,4 @@
+<?php
+putenv('LANG=en_US.UTF-8');
+passthru("utils/serverexecute ".escapeshellarg($_ENV["SCRIPT_URI"]."#!".$_GET["_escaped_fragment_"]));
+?>