mirror of
https://github.com/vrana/adminer.git
synced 2026-02-08 15:47:47 +01:00
Update comlie.php
Define constant if undefined
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user