diff options
author | Ian Moore <imoore76@yahoo.com> | 2015-08-08 18:07:53 -0400 |
---|---|---|
committer | Ian Moore <imoore76@yahoo.com> | 2015-08-08 18:07:53 -0400 |
commit | f10958502572efa46f396f14c7016a6c0ec79104 (patch) | |
tree | f8ebfdf03cff00e7724c4175447a08bcbb904651 /endpoints/lib/language.php | |
parent | 0ffda268ad634ed2cc1f66fbecf01fe362f5b181 (diff) | |
download | phpvirtualbox-f10958502572efa46f396f14c7016a6c0ec79104.zip phpvirtualbox-f10958502572efa46f396f14c7016a6c0ec79104.tar.gz phpvirtualbox-f10958502572efa46f396f14c7016a6c0ec79104.tar.bz2 |
Fixed "Unknown PHP error" when using English.
More language changes
Diffstat (limited to 'endpoints/lib/language.php')
-rw-r--r-- | endpoints/lib/language.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/endpoints/lib/language.php b/endpoints/lib/language.php index 4e5b6b4..da8241b 100644 --- a/endpoints/lib/language.php +++ b/endpoints/lib/language.php @@ -68,9 +68,9 @@ class __vbox_language { }
- self::$langdata = unserialize(file_get_contents(VBOX_BASE_LANG_DIR.'/source/'.$lang.'.dat'));
+ self::$langdata = unserialize(@file_get_contents(VBOX_BASE_LANG_DIR.'/source/'.$lang.'.dat'));
- $xmlObj = simplexml_load_string(file_get_contents(VBOX_BASE_LANG_DIR.'/'.$lang.'.xml'));
+ $xmlObj = simplexml_load_string(@file_get_contents(VBOX_BASE_LANG_DIR.'/'.$lang.'.xml'));
$arrXml = $this->objectsIntoArray($xmlObj);
$lang = array();
|