~ubuntu-branches/ubuntu/quantal/squirrelmail/quantal

« back to all changes in this revision

Viewing changes to functions/plugin.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2008-09-28 16:33:48 UTC
  • mfrom: (11.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080928163348-hgxf8au2d4zspabg
Tags: 2:1.4.15-3
Cookies sent over HTTPS will now be confined to HTTPS only
(cookie secure flag) and more support for the HTTPOnly cookie
attribute. Patch taken from upstream release.
(CVE-2008-3663, closes: #499942)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *
8
8
 * Documentation on how to write plugins might show up some time.
9
9
 *
10
 
 * @copyright © 1999-2006 The SquirrelMail Project Team
 
10
 * @copyright © 1999-2007 The SquirrelMail Project Team
11
11
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
12
 
 * @version $Id: plugin.php,v 1.30.2.7 2006/07/18 07:58:34 tokul Exp $
 
12
 * @version $Id: plugin.php 12932 2008-02-10 16:49:47Z kink $
13
13
 * @package squirrelmail
14
14
 */
15
15
 
189
189
/*** MAIN PLUGIN LOADING CODE HERE ***/
190
190
/*************************************/
191
191
 
192
 
/* On startup, register all plugins configured for use. */
 
192
/* On startup, register all plugins configured for use. 
 
193
   $plugins needs to be globalized because this file is
 
194
   sometimes included inside function (non-global) scope,
 
195
   such as for logout_error. */
 
196
global $plugins;
193
197
if (isset($plugins) && is_array($plugins)) {
194
198
    // turn on output buffering in order to prevent output of new lines
195
199
    ob_start();
204
208
    }
205
209
}
206
210
 
207
 
?>
 
 
b'\\ No newline at end of file'