Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
= $imageMagickBelowVersion) {
$message = sprintf(
"skip ImageMagick installed %x >= limit check %x",
$versionInstalled,
$imageMagickBelowVersion
);
die($message);
}
}
if (isset($imageMagickBelowVersion)) {
$versionInfo = \Imagick::getVersion();
if (array_key_exists("versionNumber", $versionInfo) == false) {
die("skip unable to determine ImageMagick version.");
}
$versionInstalled = $versionInfo["versionNumber"];
if ($versionInstalled >= $imageMagickBelowVersion) {
$message = sprintf(
"skip ImageMagick installed %x >= %x",
$versionInstalled,
$imageMagickBelowVersion
);
die($message);
}
}
function checkClassMethods($class, $methods)
{
foreach ($methods as $method) {
if (method_exists($class, $method) == false) {
die("skip Class method $class::$method not present");
}
}
}
function checkFormatPresent($format)
{
$result = Imagick::queryFormats(strtoupper($format));
if (count($result) == false) {
die("skip format $format not supported by ImageMagick as compiled.");
}
}
function requirePHP($required)
{
if (version_compare(PHP_VERSION, $required) < 0) {
die("skip PHP version $required required, but have ".PHP_VERSION.".");
}
}
function requireFormat($requiredFormat)
{
$formats = \Imagick::queryformats();
foreach ($formats as $format) {
if (strcasecmp($format, $requiredFormat) === 0) {
return;
}
}
die("skip test suite requires format $requiredFormat but not available");
}
requireFormat("png");
requireFormat("jpg");
if (isset($minimumVersions) === true) {
if (isVersionGreaterEqual($minimumVersions[0], $minimumVersions[1]) !== true) {
$message = sprintf(
"skip either version '%s' or '%s' is minimum reliable for test.\n",
$minimumVersions[0],
$minimumVersions[1]
);
die($message);
}
}
?>