Fixed EZP-22921: eZPublish installation shows undefined variable in error.log

Fixed ini reading functions, and ensure that the Extensions not set case is handled.