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.

https://jira.ez.no/browse/EZP-22921
Thank you, I now feel better! :)