X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=include%2Fconstants.php;h=62e507521c22868d4b228ebd84461411c28b3732;hp=e6e20486be22a08c1437ceaacb53333f589b0dd8;hb=f258865ca7ffb4f19de9f6c656ba64748d1e6072;hpb=6c99d1de81366bceab6c9d6cf12179eedc81f9bc diff --git a/include/constants.php b/include/constants.php index e6e20486..62e50752 100644 --- a/include/constants.php +++ b/include/constants.php @@ -6,7 +6,7 @@ * Loads constants used by the rest of the SquirrelMail source. * * Before 1.5.2 script was stored in functions/constants.php - * @copyright © 1999-2006 The SquirrelMail Project Team + * @copyright © 1999-2007 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -15,6 +15,12 @@ /** @ignore */ +/** + * SquirrelMail version number -- DO NOT CHANGE + * @since 1.5.2 + */ +define('SM_VERSION', '1.5.2 [SVN]'); + /**************************************************************/ /* Set values for constants used by SquirrelMail preferences. */ /**************************************************************/ @@ -152,7 +158,24 @@ define('SQM_COL_CC', 10); define('SQM_COL_BCC', 11); /** - * FIXME: error notice on direct load - * @since 1.2.0 + * Generic variable type constants + * @since 1.5.2 */ -do_hook('loading_constants'); +define('SQ_TYPE_INT', 'int'); +define('SQ_TYPE_STRING', 'string'); +define('SQ_TYPE_BOOL', 'bool'); +define('SQ_TYPE_ARRAY', 'array'); + +/** + * Template engines supported + * @since 1.5.2 + */ +define('SQ_PHP_TEMPLATE', 'PHP_'); +define('SQ_SMARTY_TEMPLATE', 'Smarty_'); + +/** + * Used by plugins to indicate an incompatibility with a SM version + * @since 1.5.2 + */ +define('SQ_INCOMPATIBLE', 'INCOMPATIBLE'); +