initialize $LANG to an empty array

This commit is contained in:
Uwe Steinmann 2013-05-24 17:31:22 +02:00
parent df18614f1f
commit a404dfd03f

View File

@ -18,6 +18,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$LANG = array();
foreach(getLanguages() as $_lang) {
if(file_exists($settings->_rootDir . "languages/" . $_lang . "/lang.inc")) {
include $settings->_rootDir . "languages/" . $_lang . "/lang.inc";