<?php
- /**
- * constants.php
- *
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * 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.
- *
- * $Id$
- */
-
- /**************************************************************/
- /* Set values for constants used by Squirrelmail preferences. */
- /**************************************************************/
-
- /* Define constants for javascript settings. */
- define('SMPREF_JS_ON', 1);
- define('SMPREF_JS_OFF', 2);
- define('SMPREF_JS_AUTODETECT', 3);
-
- define('SMPREF_LOC_TOP', 'top');
- define('SMPREF_LOC_BETWEEN', 'between');
- define('SMPREF_LOC_BOTTOM', 'bottom');
- define('SMPREF_LOC_LEFT', '');
- define('SMPREF_LOC_RIGHT', 'right');
-
- do_hook("loading_constants");
-?>
+/**
+ * old constants function file location
+ *
+ * @copyright 1999-2017 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ */
+
+/** break if somebody tries to load this file */
+die('Rewrite your code, functions/constants.php file location is changed in 1.5.2.'
+ .' Direct loading of functions/constants.php is deprecated.');
+?>
\ No newline at end of file