diff options
Diffstat (limited to 'endpoints/lib')
-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();
|