Override Magento Config

前端 未结 3 1537
耶瑟儿~
耶瑟儿~ 2020-12-16 05:40

I am looking for a good solution to override the Magento config without changing the default values.

For example, I want to override the \"web/unsecure/base_skin_url

3条回答
  •  感情败类
    2020-12-16 06:41

    If you want to overwrite some special config data, you can put it in app/etc/local.xml. But thats only useful for your own shop, not for public modules.

    Heres a way to overwrite the base_url for development-purposes without altering the database.

    
    ...
        
            
                
                    
                        http://dev.myshop.com/
                    
                    
                        http://dev.myshop.com/
                    
                
            
            
                
                    
                        http://dev.myshop.com/
                    
                    
                        http://dev.myshop.com/
                    
                
            
        
    ...
    
    

提交回复
热议问题