Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-15360

site.ini - [DatabaseSettings] DatabasePostfix useful for multisite environments

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 4.0.6, 4.1.3, 4.2.0alpha1
    • Database related
    • None

    Description

      If you have a multisite installation and you have different ezinstallation on the same machine e.g.

      live => svn live branch
      trunk => svn trunk

      and you don't want to change the DatabaseSettings in the site.ini of the siteaccesses ( for better mergeing between trunk and live branch ) this patch is usefull.

      It allows you to define a database postfix which is append to the Database name. For example we want to set up a trunk development.

      # example for a trunk system  ezroot/ override/ site.ini.append.php
      # 
      [DatabaseSettings]
      Database=ez40_mysite
      
      # if defined Databasename is extended by DatabasePostfix
      # e.g. ez40_mysite   will be  ez40_mysite-trunk
      DatabasePostfix=-trunk
      

      It's very handy
      If you did not understand this patch - feel free to ask.

      Hopefully this will be included to the ez core.

      Thank's

      Attachments

        Activity

          People

            unknown unknown
            4d91e976-d41f-487b-ae85-f7216bd06dac@accounts.ibexa.co Felix Woldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: