Location: PHPKode > projects > phpMyOrdering > phpMyOrdering-0.1.7-alpha/phpMyPurchasing-0.1.2-alpha/scripts/inc.config.php
<?PHP
/*
 * phpMyPurchasing
 * Jason Gerfen [hide@address.com]
 *
 * inc.config.php - Pre-defined global variables
 */

error_reporting( E_ALL );

// database configuration
$defined['hostname']    = "155.97.16.165";
$defined['dbhost']      = "localhost";
$defined['username']    = "phpMyPurchasing";
$defined['password']    = "d3v3l0pm3n+";
$defined['dbname']      = "phpMyPurchasing";

// application path information
$defined['virpath']     = "/var/www/html/phpMyPurchasing-0.1.2-alpha/";

// set secure flag on cookies (authentication will fail
// on no SSL connections if this is enabled)
ini_set('session.cookie_secure', true);

// title and copyright information
$defined['title']       = "phpMyPurchasing ";
$defined['description'] = "Manage purchasing orders";
$defined['logo']        = "templates/development/images/phpMyPurchasing-logo.png";

// if this is removed the GPL license is out of compliance
// please refer to the LICENSE file regarding GPL licensing
$defined['copyright']   = "v0.1.2 &copy; 2010";

// path for application templates
$defined['templates']   = "templates/development/";

// default error and success images used for messages
$defined['error']       = $defined['templates'] . "images/icons/icon-warning.png";
$defined['good']        = $defined['templates'] . "images/icons/icon-ok-round.png";

// enable debugging support?
// A warning here, when using debugging support
// some validation features may not work properly
// and give false positives if testing application
// against XSS and/or SQL injection attacks
$defined['debug']       = "FALSE";

// data used with session authentication token (do NOT modify)
$defined['enckeygen']   = $defined['virpath'] . "scripts/shared/";

// include our class files
require 'inc.libraries.php';

// include our error codes
require 'inc.errors.php';

// Initialize array of classes
if( !is_resource( $handles['db'] ) ) { $handles['db'] = new dbConn; }
if( !is_resource( $handles['conf'] ) ) { $handles['conf'] = new configuration; }
if( !is_resource( $handles['err'] ) ) { $handles['err'] = new GenerateErrors; }
if( !is_resource( $handles['tpl'] ) ) { $handles['tpl'] = new Template; }
if( !is_resource( $handles['net'] ) ) { $handles['net'] = new networkTools; }
if( !is_resource( $handles['val'] ) ) { $handles['val'] = new ValidateStrings; }
if( !is_resource( $handles['auth'] ) ) { $handles['auth'] = new Authenticate; }
if( !is_resource( $handles['encrypt'] ) ) { $handles['encrypt'] = new Encryption; }
if( !is_resource( $handles['level'] ) ) { $handles['level'] = new AccessLevels; }
if( !is_resource( $handles['misc'] ) ) { $handles['misc'] = new MiscFunctions; }
if( !is_resource( $handles['debug'] ) ) { $handles['debug'] = new DebugData; }
if( !is_resource( $handles['logs'] ) ) { $handles['logs'] = new logging; }
if( ( !is_resource( $handles['ldap'] ) ) && ( function_exists( 'ldap_connect' ) ) ) { $handles['ldap'] = new ldap; } 
?>
Return current item: phpMyOrdering