Mercurial > SimpleWebPresenter
view flag.php @ 131:6b882fb6ea46
Do not add '/' at end if we have encoded all params.
| author | Tom Fredrik Blenning <bfg@bfgconsult.no> |
|---|---|
| date | Sat, 21 Jan 2023 16:43:41 +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 ?>
