Location: PHPKode > projects > The Online Web Library Site > towels/src/etc/vars.php
<?php

//++++++++++++++++++++++++//
//   Database Settings    //
//++++++++++++++++++++++++//
$dbType = 'mysql'; // 'mysql' or 'postgresql'
$dbServer = 'mysql.yourdomain.com';
$dbDatabase = 'dbname';
$dbUser = 'user';
$dbPassword = 'pass';
$dbPrefix = 'towels_';


//++++++++++++++++++++++++//
//     Misc Settings      //
//++++++++++++++++++++++++//

// Changeable: The root of your installation.  This will appear in the title of each web page.
$siteName = 'The Online Web Library Site';

// Changeable: The root of your installation.  Generated links must be and will be relative to this path.
$siteRoot = 'http://www.yourdomain.com/towels/';  // MUST have trailing slash.

// Changeable: Sets number of books/authors to display per page in the listings.
$displayLimit = 5;

// Changeable: Specifies the format type (must match DB format) to default to for displaying, if none specified.
$defaultFormat = 'html';














    /////////////////////\\\\\\\\\\\\\\\\\\\\\
   //////////////////////\\\\\\\\\\\\\\\\\\\\\\
  //     *** DO NOT EDIT BEYOND HERE ***      \\
 ////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\
/////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\

//++++++++++++++++++++++++//
//     Misc Settings      //
//++++++++++++++++++++++++//

// Don't Change: Sets the database query counter for a page load.
$queryCount	=	0;

// Don't Change: Sets the default directory path (modifies $siteRoot).
$dirModifier    =       '';


//++++++++++++++++++++++++//
//     Block Includes     //
//++++++++++++++++++++++++//
include_once ('blocks/author.block.php');
include_once ('blocks/book.block.php');
include_once ('blocks/category.block.php');
include_once ('blocks/misc.block.php');
include_once ('blocks/xml.block.php');

//++++++++++++++++++++++++//
//   Function Includes    //
//++++++++++++++++++++++++//
include_once ('functions/author.function.php');
include_once ('functions/book.function.php');
include_once ('functions/category.function.php');
include_once ('functions/db.' . $dbType . '.function.php');
include_once ('functions/format.function.php');
include_once ('functions/misc.function.php');
include_once ('functions/scripture.function.php');
include_once ('functions/stats.function.php');
include_once ('functions/xml.function.php');
?>
Return current item: The Online Web Library Site