Update comlie.php

Define constant if undefined
This commit is contained in:
Umasterov 2022-12-24 16:47:47 +03:00 committed by GitHub
parent 88647b93e4
commit 5044e808e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -377,6 +377,9 @@ foreach (glob(dirname(__FILE__) . "/adminer/drivers/" . ($driver ? $driver : "*"
$file = file_get_contents($filename);
foreach ($functions as $val) {
if (!strpos($file, "$val(")) {
if (!defined('STDERR')) {
define('STDERR', fopen('php://stderr', 'w'));
}
fprintf(STDERR, "Missing $val in $filename\n");
}
}