Author: Christoph M. Becker (cmb69) Date: 2022-07-12T11:49:01+02:00 Commit: https://github.com/php/web-php/commit/16fd981d27a6d6c6adbaecf06da58e8a35741c0b Raw diff: https://github.com/php/web-php/commit/16fd981d27a6d6c6adbaecf06da58e8a35741c0b.diff
Include spam_challenge.php only once The file contains only definitions, and as such multiple inclusion would never make sense. Changed paths: M manual/vote-note.php Diff: diff --git a/manual/vote-note.php b/manual/vote-note.php index eae9c3722..93ddbef62 100644 --- a/manual/vote-note.php +++ b/manual/vote-note.php @@ -3,7 +3,7 @@ include_once __DIR__ . '/../include/prepend.inc'; include_once __DIR__ . '/../include/posttohost.inc'; include_once __DIR__ . '/../include/shared-manual.inc'; -include __DIR__ . '/spam_challenge.php'; +include_once __DIR__ . '/spam_challenge.php'; // Initialize global variables $error = false; -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php