[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

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

   1  <?php
   2  # MantisConnect - A webservice interface to Mantis Bug Tracker
   3  # Copyright (C) 2004-2011  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  # Path to MantisBT is assumed to be the grand parent directory.  If this is not
  10  # the case, then this variable should be set to the MantisBT path.
  11  # This can not be a configuration option, then MantisConnect configuration
  12  # needs MantisBT to be included first to make use of the constants and possibly
  13  # configuration defined in MantisBT.
  14  $t_mantis_dir = dirname( dirname( dirname( __FILE__ ) ) ) . DIRECTORY_SEPARATOR;
  15  
  16  # include Mantis files
  17  $g_bypass_headers = true;
  18  require_once ( $t_mantis_dir . 'core.php' );
  19  
  20  # constants and configurations
  21  $t_current_dir = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
  22  require_once ( $t_current_dir . 'mc_config_defaults_inc.php' );
  23  
  24  $t_user_configs = $t_current_dir . 'mc_config_inc.php';
  25  if( file_exists( $t_user_configs ) ) {
  26      require_once( $t_user_configs );
  27  }
  28  
  29  # MantisConnect APIs
  30  #   mc_* = public methods
  31  #   mci_* = internal methods
  32  require_once ( $t_current_dir . 'mc_api.php' );
  33  require_once ( $t_current_dir . 'mc_account_api.php' );
  34  require_once ( $t_current_dir . 'mc_enum_api.php' );
  35  require_once ( $t_current_dir . 'mc_filter_api.php' );
  36  require_once ( $t_current_dir . 'mc_issue_api.php' );
  37  require_once ( $t_current_dir . 'mc_issue_attachment_api.php' );
  38  require_once ( $t_current_dir . 'mc_project_api.php' );
  39  require_once ( $t_current_dir . 'mc_project_attachment_api.php' );
  40  require_once ( $t_current_dir . 'mc_file_api.php' );
  41  require_once ( $t_current_dir . 'mc_config_api.php' );
  42  require_once ( $t_current_dir . 'mc_custom_field_api.php' );
  43  require_once ( $t_current_dir . 'mc_user_pref_api.php' );


Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7