Created
October 7, 2012 06:55
-
-
Save ngs/3847357 to your computer and use it in GitHub Desktop.
config.ru for Cake PHP project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rack' | |
require 'rack-legacy' | |
use Rack::Legacy::Php, Dir.getwd | |
use Rack::Static, :urls => %w{/css /files /img /js /favicon.ico}, :root => "app/webroot" | |
run Rack::File.new Dir.getwd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I added some other features on my fork