Yes, it's possible to use this with the 1.4.x code.
By default Magento now allows you to define which website/store to use through the use of server variables, which would normally be defined in your Apache VirtualHost or similar. You can just remove or replace this code with the example from this post if you are not going to use that functionality and want things to be controlled from the Magento configuration.
Yes, it's possible to use this with the 1.4.x code.
By default Magento now allows you to define which website/store to use through the use of server variables, which would normally be defined in your Apache VirtualHost or similar. You can just remove or replace this code with the example from this post if you are not going to use that functionality and want things to be controlled from the Magento configuration.