]> git.joonet.de Git - adminer.git/commitdiff
Print compile errors to STDERR
authorJakub Vrana <jakub@vrana.cz>
Sun, 16 Sep 2012 13:13:48 +0000 (06:13 -0700)
committerJakub Vrana <jakub@vrana.cz>
Sun, 16 Sep 2012 13:13:48 +0000 (06:13 -0700)
compile.php

index f727d5bfa2b4959123ca0ff6e4cdeb9a45be8734..f02f2e195d46d21bc100d00158c7d5c8d4fea3e1 100755 (executable)
@@ -298,7 +298,7 @@ foreach (glob(dirname(__FILE__) . "/adminer/drivers/" . ($driver ? $driver : "*"
                $file = file_get_contents($filename);
                foreach ($functions as $val) {
                        if (!strpos($file, "$val(")) {
-                               echo "Missing $val in $filename\n";
+                               fprintf(STDERR, "Missing $val in $filename\n");
                        }
                }
        }