[ Index ]

Source Code Reference for V1.00

title

Body

[close]

/ -> queuescanner.php (source)

   1  <?php /* $Id: queuescanner.php 71 2008-03-03 14:19:22Z pedroix $ $URL: https://web2project.svn.sourceforge.net/svnroot/web2project/trunk/queuescanner.php $ */
   2  
   3  /*

   4  All files in this work, except the modules/ticketsmith directory, are now

   5  covered by the following copyright notice.  The ticketsmith module is

   6  under the Voxel Public License.  See modules/ticketsmith/LICENSE

   7  for details. Please note that included libraries in lib may have their

   8  own license.

   9  

  10  Copyright (c) 2007-2008 The web2Project Development Team <w2p-developers@web2project.net>

  11  Copyright (c) 2003-2005 The dotProject Development Team <core-developers@dotproject.net>

  12  

  13  This file is part of web2Project.

  14  

  15  web2Project is free software; you can redistribute it and/or modify

  16  it under the terms of the GNU General Public License as published by

  17  the Free Software Foundation; either version 2 of the License, or

  18  (at your option) any later version.

  19  

  20  web2Project is distributed in the hope that it will be useful,

  21  but WITHOUT ANY WARRANTY; without even the implied warranty of

  22  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

  23  GNU General Public License for more details.

  24  

  25  You should have received a copy of the GNU General Public License

  26  along with web2Project; if not, write to the Free Software

  27  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

  28  

  29  The full text of the GPL is in the COPYING file.

  30  */
  31  
  32  // Function to scan the event queue and execute any functions required.

  33  
  34  require_once  'base.php';
  35  require_once W2P_BASE_DIR . '/includes/config.php';
  36  require_once  W2P_BASE_DIR . '/includes/main_functions.php';
  37  require_once  W2P_BASE_DIR . '/includes/db_adodb.php';
  38  require_once  W2P_BASE_DIR . '/classes/ui.class.php';
  39  require_once  W2P_BASE_DIR . '/classes/event_queue.class.php';
  40  require_once  W2P_BASE_DIR . '/classes/query.class.php';
  41  
  42  $AppUI = new CAppUI;
  43  $AppUI->setUserLocale();
  44  
  45  echo 'Scanning Queue ...' . "\n";
  46  $queue = new EventQueue;
  47  $queue->scan();
  48  echo 'Done, ' . $queue->event_count . ' events processed' . "\n";
  49  ?>


Generated: Thu Aug 21 03:00:13 2008 Cross-referenced by PHPXref 0.7