Bontiv-Sourceer source code viewer
Root | Help
./bontiv-cms/config.php
<?php
if (!defined('INDEX') || INDEX == false) die ('Acc�s denied');

/**
 * \file config.php
 * \author Bontiv
 * \version 0.1
 * \brief Configuration file.
 *
 * Configuration of the installation.
 *
 */

/**
 * \class DataConfig
 * \brief Class which content CMS configuration.
 *
 * This static class content the configuration of the CMS.
 */
class DataConfig
{
   
/*************************
    * Database configuration *
    **************************/

    /// Adresse of the database server
   
public static $DBServer     =     'localhost';

   
/// Port of the database server
   
public static $DBPort         =     '3306';

   
/// User for the authentification on the database server
   
public static $DBUser         =     'cms';

   
/// Anthentification password
   
public static $DBPassword     =     '';

   
/// The database name
   
public static $DBase        =    'cms';

   
/// Database driver name (class \ref sqld)
   
public static $DBDriver        =    'mysqld';

   
/// Database controler (class SQL)
   
public static $DBControler    =    'sqlc';

   
/// Table prefix
   
public static $DBPrefix        =    '';


   
/******************************
     * Cryptography configuration *
     ******************************/

    /// Cryptography key
   
public static $CryptoKey     =     'psrie "rp�\'nr"';

}
?>
Presented with Bontiv-Sourceer