mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-07 13:56:30 +02:00
Adds @ to php checks to ignore exceptions. Updates el translation.
This commit is contained in:
@@ -12,5 +12,6 @@
|
|||||||
"download": "μεταμόρφωση",
|
"download": "μεταμόρφωση",
|
||||||
"noMatch": "κανένα αποτέλεσμα",
|
"noMatch": "κανένα αποτέλεσμα",
|
||||||
"dateFormat": "DD/MM/YYYY HH:mm",
|
"dateFormat": "DD/MM/YYYY HH:mm",
|
||||||
"filter": "φίλτρο"
|
"filter": "φίλτρο",
|
||||||
|
"delete": "διαγραφή"
|
||||||
}
|
}
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user