Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 2e2b629ee36218fcb3eefba46c8743e6 > files > 6

mantis-1.2.12-1.fc16.noarch.rpm

-------------------------------------------------------------------------------
MantisBT - a php based bugtracking system
Copyright (C) 2000-2002  Kenzaburo Ito - kenito@300baud.org
Copyright (C) 2002-2012  MantisBT Team - mantisbt-dev@lists.sourceforge.net
-------------------------------------------------------------------------------

CONFIGURATION

This file contains information to help you customize MantisBT.  A more
detailed doc can be found at:
http://docs.mantisbt.org/

* config_defaults_inc.php
  - this file contains the default values for all the site-wide variables.
* config_inc.php
  - You should create this file to change config variable values.  Your
    values from this file will be used instead of the defaults.  This file
    will not be overwritten when you upgrade, but config_defaults_inc.php will.
    Look at config_inc.php.sample for an example.

* core/*_api.php - these files contains all the API library functions.

* global variables are prefixed by g_
* parameters in functions are prefixed with p_ -- parameters shouldn't be modified within the function.
* form variables are prefixed with f_
* variables that have been cleaned for db insertiong are prefixed with c_
* temporary variables are prefixed with t_.
* template variables are prefixed with tpl_.
* count variables have the word count in the variable name

More detail can be seen in the coding guidelines at:
http://www.mantisbt.org/guidelines.php

* The files are split into three basic categories, viewable pages,
include files and pure scripts. Examining the viewable pages (suffix _page)
should make the basic file format fairly easy to see.  The file names
themselves should make their purpose apparent.  The approach used is to break the
work into many small files rather than have a small number of really
large files.

* Most of the action scripts have a confirmation page to make sure the action
completed successfully.  The pages will automatically redirect you after a
short amount of time.  You can shorten of lengthen the time by editing
$g_default_redirect_delay in config_inc.php.

* Edit css_inc.php to make your own page formatting.

* You can set $g_top_include_page and $g_bottom_include_page
  to alter what should be visible at the top and bottom of each page.

* All files were edited with TAB SPACES set to 4.

As a general debugging tip you should be extremely generous in using echo,
print and exit functions.  This is the quickest way to see if a database
query actually contains what you want, etc.