loaded before plugins are initialized.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11661
7612ce4b-ef26-0410-bec9-
ea0150e637f0
define('SQM_COL_TO', 9);
define('SQM_COL_CC', 10);
define('SQM_COL_BCC', 11);
-
-/**
- * FIXME: error notice on direct load
- * @since 1.2.0
- */
-do_hook('loading_constants');
}
}
+/**
+ * Before 1.5.2 version hook was part of functions/constants.php.
+ * After init layout changes, hook had to be moved because include/constants.php is
+ * loaded before plugins are initialized.
+ * @since 1.2.0
+ */
+do_hook('loading_constants');
switch ($sInitLocation) {
case 'style': session_write_close(); sqsetcookieflush(); break;