Edit ob_config.php HOWTO
Author: Matthew Maxwell
Date: June 22, 2004
Introduction
| |
Editing the ob_config.php file is a simple process. All that is necessary is a text editor and a little information about your system setup. Below is a list of the variables found in the ob_config.php file and a short description of them.
|
OpenBasin Directories
| |
| $OPENBASIN_DIR |
The absolute path to the location where the OpenBasin files are stored. Default is /usr/local/bin/openbasin. |
| $OPENBASIN_OBJ_DIR |
The absolute path to the location where the OpenBasin object files are stored. Default is the obj subdirectory of $OPENBASIN_DIR. |
| $OPENBASIN_ADMIN_DIR |
The absolute path to the location where the OpenBasin admin files are stored. Default is the admin subdirectory of $OPENBASIN_DIR. |
|
|
Database Information
| |
| $DB_DBNAME |
The name of the OpenBasin database. Default is openbasin. |
| $DB_USERNAME |
The name of the PostgreSQL user to access the OpenBasin database. Default is openbasin. |
| $DB_PASSWORD |
The password used to access the OpenBasin database. |
|
|
Smarty Information
| |
The Smarty templating engine is included within the standard OpenBasin install, and is used for the OpenBasin admin pages. Smarty may also be used within your own sites. The Smarty homepage can be found at http://smarty.php.net/.
| $SMARTY_DIR |
Absolute path to the Smarty directory. If Smarty is not yet installed, it can be found in the smarty subdirectory of OpenBasin. For instructions regarding the installation of Smarty, refer to the Smarty homepage. Default is /usr/lib/smarty. |
| $SMARTY_CUSTOMCLASS_DIR |
The absolute path to the directory containing customized Smarty information for the admin pages. You may also use this directory to store custom Smarty classes for your own websites. Default is the smarty/conf subdirectory of $OPENBASIN_DIR. |
|
|
ezPdf Information
| |
ezPdf is included within the standard OpenBasin install. It is a collection of PHP scripts that allow you to create PDF files. This feature is used in the included graphing scripts and tabular data scripts. You may also use ezPdf within your scripts. The ezPdf homepage can be found at http://www.ros.co.nz/pdf/.
| $EZPDF_DIR |
The absolute path to the location where the ezPdf files are located. Default is the extra/scripts/ezpdf subdirectory of $OPENBASIN_DIR. |
| $EZPDF_FONT_DIR |
The absolute path to the directory containing the ezPdf fonts. Default is the fonts directory of the $EZPDF_DIR. |
|
|
Documentation Information
| |
| $DOCUMENTATION_EDIT_URL |
When accessed through this URL the interactive documentation will allow you to make changes to the documentation. Consequently it is usually a good idea to have this page password protected. Default is /admin/documentation. |
|
|
technical contact: Matthew Maxwell
general contact:
|