Forum

Thread tagged as: Question

Programmatically set siteURL

Hi,

Working between remote and local, I'd like to set the [perch2_settings siteURL] database entry in my config file, which is ignored by version control. Is this possible?

Thanks

Adam Menczykowski

Adam Menczykowski 1 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

It's not possible currently, no.

OK Thanks drew... presumably if it would ever be implemented, the Perch hook that refers to that row in the DB could check the config file ?

Drew McLellan

Drew McLellan 2638 points
Perch Support

I don't know if I have a useful answer, as you're asking questions about the implementation of code that doesn't exist.

No worries!