fix PHP Error: Creating default object from empty value in  gettext/gettext.inc

symptoms (for php5: 5.4.4 / debian wheezy):
   * A PHP Error was encountered
   * Severity: Warning
   * Message: Creating default object from empty value
   * Filename: gettext/gettext.inc
   * Line Number: 195

The error does not show up for php5: 5.3.15/osx
path problem when upgrading from 2.2b to 2.5