Source for file setup.php

Documentation is available at setup.php

  1. <?php
  2.  
  3. /**
  4.  * setup.php
  5.  *
  6.  * Copyright (c) 1999-2020 The SquirrelMail Project Team
  7.  * Licensed under the GNU GPL. For full terms see the file COPYING.
  8.  *
  9.  * This is a standard Squirrelmail-1.2 API for plugins.
  10.  *
  11.  * $Id: setup.php 14840 2020-01-07 07:42:38Z pdontthink $
  12.  */
  13.  
  14. /* This button fills out a form with your setup information already
  15.    gathered -- all you have to do is type. */
  16.  
  17.  
  18. /* Initialize the bug report plugin */
  19.     global $squirrelmail_plugin_hooks;
  20.  
  21.     $squirrelmail_plugin_hooks['menuline']['bug_report']
  22.         = 'bug_report_button';
  23.     $squirrelmail_plugin_hooks['optpage_loadhook_display']['bug_report']
  24.         = 'bug_report_block';
  25. }
  26.  
  27.  
  28. /* Show the button in the main bar */
  29. function bug_report_button({
  30.     include_once(SM_PATH 'plugins/bug_report/functions.php');
  31. }
  32.  
  33.  
  34. function bug_report_block({
  35.     include_once(SM_PATH 'plugins/bug_report/functions.php');
  36.     bug_report_block_do();
  37. }

Documentation generated on Mon, 13 Jan 2020 04:25:19 +0100 by phpDocumentor 1.4.3