diff options
author | imoore76 <imoore76@users.noreply.github.com> | 2015-08-12 23:56:51 -0400 |
---|---|---|
committer | imoore76 <imoore76@users.noreply.github.com> | 2015-08-12 23:56:51 -0400 |
commit | a1172caa70fc60663bc0db62b643655497de3354 (patch) | |
tree | e79ec57bc7c291e5ae6f54954c441d26dc5b5698 /endpoints/lib/language.php | |
parent | cd0f2520d9065c7ce8ced16fb1d1500245689227 (diff) | |
parent | 8b611cdf516d4449c186493b1b24a01760c4a9c8 (diff) | |
download | phpvirtualbox-a1172caa70fc60663bc0db62b643655497de3354.zip phpvirtualbox-a1172caa70fc60663bc0db62b643655497de3354.tar.gz phpvirtualbox-a1172caa70fc60663bc0db62b643655497de3354.tar.bz2 |
Merge pull request #4 from imoore76/develop
5.0-2
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();
|