<?php
/*
simpleQuizz made Quizzs simple
Copyright (C) 2008 Mathieu Lory <hide@address.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @package simpleQuizz
* @subpackage Database
* @author Mathieu Lory <hide@address.com>
*/
if (basename($_SERVER["SCRIPT_NAME"])==basename(__FILE__))die();
/**
*
* @package simpleQuizz
*
*/
class Database
{
public static $host;
public static $username;
public static $password;
public static $db_name;
public function __construct()
{
self::$host = Settings::$DB_HOST;
self::$username = Settings::$DB_USER;
self::$password = Settings::$DB_PASS;
self::$db_name = Settings::$DB_NAME;
}
}
?>