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

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