Mercurial > SimpleWebPresenter
view flag.php @ 129:16c3ee204330
Fixes flag.
| author | Tom Fredrik Blenning <bfg@bfgconsult.no> |
|---|---|
| date | Wed, 28 Dec 2022 11:20:19 +0100 |
| parents | b9654b9c4a66 |
| 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 ?>
