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

order of ini settings - extension has too much priority

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 4.0.3
    • Misc
    • None

    Description

      Hi,

      extension/myext/settings/bla.ini.append.php
      [MyBlock]
      MyArray[]

      settings/siteaccess/myaccess/bla.ini.append.php
      [MyBlock]
      MyArray[]=1
      MyArray[]=2

      $xINI = eZINI::instance( 'bla.ini' );
      $blaArray = $xINI->variable( 'MyBlock', 'MyArray' );

      eZDebug::writeDebug( $blaArray , 'test array' );

      In that case, $blaArray is an empty array.

      So I can't override extension settings in my siteaccess.

      Is that the expected behavior or a bug?

      I would expect that I can override the default ini setting of the extension in my site access.

      Best wishes,
      Georg.

      Attachments

        Activity

          People

            unknown unknown
            emil.webber emil.webber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: