[ Index ]
 

Code source de Mantis 1.1.0rc3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/api/soap/ -> mc_core.php (source)

   1  <?php
   2      # MantisConnect - A webservice interface to Mantis Bug Tracker
   3      # Copyright (C) 2004-2007  Victor Boctor - vboctor@users.sourceforge.net
   4      # This program is distributed under dual licensing.  These include
   5      # GPL and a commercial licenses.  Victor Boctor reserves the right to
   6      # change the license of future releases.
   7      # See docs/ folder for more details
   8  
   9      # --------------------------------------------------------
  10      # $Id: mc_core.php,v 1.1 2007-07-18 06:52:51 vboctor Exp $
  11      # --------------------------------------------------------
  12  
  13      # Path to Mantis is assumed to be the grand parent directory.  If this is not
  14      # the case, then this variable should be set to the Mantis path.
  15      # This can not be a configuration option, then MantisConnect configuration
  16      # needs Mantis to be included first to make use of the constants and possibly
  17      # configuration defined in Mantis.
  18      $t_mantis_dir  = dirname( dirname( dirname( __FILE__ ) ) ) . DIRECTORY_SEPARATOR;
  19  
  20      # include Mantis files
  21      $g_bypass_headers = true;
  22      require_once ( $t_mantis_dir . 'core.php' );
  23  
  24      # constants and configurations
  25      $t_current_dir = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
  26      require_once ( $t_current_dir . 'mc_config_defaults_inc.php' );
  27  
  28      $t_user_configs = $t_current_dir . 'mc_config_inc.php';
  29      if ( file_exists( $t_user_configs ) ) {
  30          require_once( $t_user_configs );
  31      }
  32  
  33      # MantisConnect APIs
  34      #   mc_* = public methods
  35      #   mci_* = internal methods
  36      require_once ( $t_current_dir . 'mc_api.php' );
  37      require_once ( $t_current_dir . 'mc_account_api.php' );
  38      require_once ( $t_current_dir . 'mc_enum_api.php' );
  39      require_once ( $t_current_dir . 'mc_filter_api.php' );
  40      require_once ( $t_current_dir . 'mc_issue_api.php' );
  41      require_once ( $t_current_dir . 'mc_issue_attachment_api.php' );
  42      require_once ( $t_current_dir . 'mc_project_api.php' );
  43      require_once ( $t_current_dir . 'mc_project_attachment_api.php' );
  44      require_once ( $t_current_dir . 'mc_file_api.php' );
  45      require_once ( $t_current_dir . 'mc_config_api.php' );
  46      require_once ( $t_current_dir . 'mc_custom_field_api.php' );
  47  ?>


Généré le : Thu Nov 29 09:42:17 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics