do not add spaces to references header (#1634294),
[squirrelmail.git] / plugins / calendar / calendar.php
index 866fb0605d50fda4b3472f68facdbb3bb51c9573..dae2a87df7b8a3ca9c60d5d01ec5166135262dce 100644 (file)
@@ -3,18 +3,18 @@
 /**
  * Displays the main calendar page (month view).
  *
- * @copyright © 2002-2006 The SquirrelMail Project Team
+ * @copyright © 2002-2007 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage calendar
  */
 
-/** @ignore */
-define('SM_PATH','../../');
+/**
+ * Include the SquirrelMail initialization file.
+ */
+require('../../include/init.php');
 
-/* SquirrelMail required files. */
-include_once(SM_PATH . 'include/validate.php');
 /* load date_intl() */
 include_once(SM_PATH . 'functions/date.php');