I’m trying to run typo in multi user mode outside the box ( without
making too many modifications in core typo code ). I want to determine
database settings dynamically using subdomains. Could someone guide me
to the right direction ?
I’m trying to run typo in multi user mode outside the box ( without
making too many modifications in core typo code ). I want to determine
database settings dynamically using subdomains. Could someone guide me
to the right direction ?
I’m pretty sure that database.yml gets run through ERB before being read
by rails. So maybe use request.env[‘SERVER_NAME’] and do some stuff in
there to set it to what you want…?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.