Skip to content

Instantly share code, notes, and snippets.

@alienlebarge
Created February 15, 2011 07:06
Show Gist options
  • Save alienlebarge/827204 to your computer and use it in GitHub Desktop.
Save alienlebarge/827204 to your computer and use it in GitHub Desktop.
Typoscript Constant : baseURL for multiple dev environment
#####################################################################
# [x. URL]
#
lib.constants.baseUrl = http://www.url.ch/
[globalString = ENV:HTTP_HOST=valid.url.ch]
lib.constants.baseUrl = http://valid.url.ch/
[globalString = ENV:HTTP_HOST=integration.url.ch]
lib.constants.baseUrl = http://integration.url.ch/
[globalString = ENV:HTTP_HOST=formation.url.ch]
lib.constants.baseUrl = http://formation.url.ch/
[GLOBAL]
@alienlebarge
Copy link
Author

I havn't test yet with Typo3 4.5 but I think you have to replace [GLOBAL] by [end]

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