Permalink
Browse files

Adding support for subdirectory running.

  • Loading branch information...
1 parent 1a35c85 commit 53cca26f5e0c38812ca2004d6c7aaca58fb13614 @remy remy committed Jun 21, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 config.php
View
@@ -10,6 +10,10 @@
define('HOST', 'http://offline.jsbin.com/');
+// if you're running from a subdirectory, change this to the start of the
+// url, i.e. offline.jsbin.com/foobar/ - ROOT would be foobar
+define('ROOT', '/');
+
// wishing PHP were more like JavaScript...wishing I was able to use Node.js they way I had wanted...
define('VERSION', OFFLINE ? 'debug' : trim(file_get_contents('VERSION')));
?>

0 comments on commit 53cca26

Please sign in to comment.