X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=include%2Fconstants.php;h=3ae1327b13b4b8c45fb3eadc8f7eeae605f1c16c;hb=835db280639a530c9336208f24501eec0dfe28ef;hp=2a60258533b92594527d1315553ab8f7af68ee83;hpb=202bcbcc2b67c7c153db1b09b608b62beeba0496;p=squirrelmail.git diff --git a/include/constants.php b/include/constants.php index 2a602585..3ae1327b 100644 --- a/include/constants.php +++ b/include/constants.php @@ -4,9 +4,8 @@ * constants.php * * Loads constants used by the rest of the SquirrelMail source. - * This file is include by src/login.php, src/redirect.php and - * src/load_prefs.php. * + * Before 1.5.2 script was stored in functions/constants.php * @copyright © 1999-2006 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ @@ -152,7 +151,19 @@ define('SQM_COL_TO', 9); define('SQM_COL_CC', 10); define('SQM_COL_BCC', 11); -/** @since 1.2.0 */ -do_hook('loading_constants'); +/** + * Generic variable type constants + * @since 1.5.2 + */ +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_'); -?> \ No newline at end of file