Mercurial > SimpleWebPresenter
view flag.php @ 132:51b53cd01080
Handle redirects properly.
| author | Tom Fredrik Blenning <bfg@bfgconsult.no> |
|---|---|
| date | Sun, 22 Jan 2023 18:59:03 +0100 |
| parents | 16c3ee204330 |
| children | b6b4a58c7625 |
line wrap: on
line source
<?php /** * @file * Displays a flag, in an active or disabled state, depending on parameters */ include_once 'constants.inc'; include_once 'CacheTimeCheck.inc'; /// @cond $scriptCache = ScriptIncludeCache::instance(__FILE__); $scriptCache->includeOnce('Flag.inc'); try { $flag = new Flag($scriptCache); $flag->display(); } catch (Exception $e) { errorPage($e, StatusCodes::HTTP_INTERNAL_SERVER_ERROR); } /// @endcond ?>
