[ Index ]
 

Code source de dotProject 2.1 RC1

Accédez au Source d'autres logiciels libres | Soutenez Angelica Josefina !

title

Body

[fermer]

/ -> queuescanner.php (source)

   1  <?php
   2      // $Id: queuescanner.php,v 1.4.2.2 2007/01/31 09:36:51 ajdonnison Exp $
   3  
   4  /*
   5  All files in this work, except the modules/ticketsmith directory, are now
   6  covered by the following copyright notice.  The ticketsmith module is
   7  under the Voxel Public License.  See modules/ticketsmith/LICENSE
   8  for details. Please note that included libraries in lib may have their
   9  own license.
  10  
  11  Copyright (c) 2003-2005 The dotProject Development Team <core-developers@dotproject.net>
  12  
  13      This file is part of dotProject.
  14  
  15      dotProject 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      dotProject 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 dotProject; 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  DP_BASE_DIR."/includes/config.php";
  36      require_once  DP_BASE_DIR."/includes/main_functions.php";
  37      require_once  DP_BASE_DIR."/includes/db_connect.php";
  38      require_once  DP_BASE_DIR."/classes/ui.class.php";
  39      require_once  DP_BASE_DIR."/classes/event_queue.class.php";
  40      require_once  DP_BASE_DIR."/classes/query.class.php";
  41  
  42      $AppUI = new CAppUI;
  43  
  44      echo "Scanning Queue ...\n";
  45      $queue = new EventQueue;
  46      $queue->scan();
  47      echo "Done, $queue->event_count events processed\n";
  48  ?>


Généré le : Sun Feb 18 19:46:52 2007 par Balluche grâce à PHPXref 0.7