Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
config.ru for Cake PHP project
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
@mjc
Copy link

mjc commented Jan 14, 2014

thanks for this, found it on google :P

@mjc
Copy link

mjc commented Jan 14, 2014

I added some other features on my fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment