Mercurial > SimpleWebPresenter
view flag.php @ 94:2370f4450983
Document functions and move a few functions to more appropriate places.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 18 Oct 2012 17:33:34 +0200 |
| parents | b9654b9c4a66 |
| children | 16c3ee204330 |
line wrap: on
line source
<?php /** * @file * Displays a flag, in an active or disabled state, depending on parameters */ define(DEBUG,0); 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
