Adds @ to php checks to ignore exceptions. Updates el translation.

This commit is contained in:
Lars Jung 2012-08-13 19:18:36 +02:00
parent 3617a7fb80
commit ee30ba509a
2 changed files with 9 additions and 8 deletions

View file

@ -12,5 +12,6 @@
"download": "μεταμόρφωση", "download": "μεταμόρφωση",
"noMatch": "κανένα αποτέλεσμα", "noMatch": "κανένα αποτέλεσμα",
"dateFormat": "DD/MM/YYYY HH:mm", "dateFormat": "DD/MM/YYYY HH:mm",
"filter": "φίλτρο" "filter": "φίλτρο",
"delete": "διαγραφή"
} }

View file

@ -105,13 +105,13 @@ else if ($action === "getchecks") {
$gdinfo = gd_info(); $gdinfo = gd_info();
$gd = array_key_exists("JPG Support", $gdinfo) && $gdinfo["JPG Support"] || array_key_exists("JPEG Support", $gdinfo) && $gdinfo["JPEG Support"]; $gd = array_key_exists("JPG Support", $gdinfo) && $gdinfo["JPG Support"] || array_key_exists("JPEG Support", $gdinfo) && $gdinfo["JPEG Support"];
} }
$cache = is_writable($h5ai->getH5aiAbsPath() . "/cache"); $cache = @is_writable($h5ai->getH5aiAbsPath() . "/cache");
$temp = is_writable(sys_get_temp_dir()); $temp = @is_writable(sys_get_temp_dir());
$tar = preg_match("/tar$/", `which tar`) > 0; $tar = @preg_match("/tar$/", `which tar`) > 0;
$zip = preg_match("/zip$/", `which zip`) > 0; $zip = @preg_match("/zip$/", `which zip`) > 0;
$convert = preg_match("/convert$/", `which convert`) > 0; $convert = @preg_match("/convert$/", `which convert`) > 0;
$ffmpeg = preg_match("/ffmpeg$/", `which ffmpeg`) > 0; $ffmpeg = @preg_match("/ffmpeg$/", `which ffmpeg`) > 0;
$du = preg_match("/du$/", `which du`) > 0; $du = @preg_match("/du$/", `which du`) > 0;
json_exit(array( json_exit(array(
"php" => $php, "php" => $php,