WEBD-325-45/week-04/homework/config.php.example

41 lines
1.5 KiB
Plaintext

<?php
/**
* @package Sport Stars
*
* @created 19th April 2022
* @author Llewellyn van der Merwe <https://git.vdm.dev/Llewellyn>
* @git WEBD-325-45 <https://git.vdm.dev/Llewellyn/WEBD-325-45>
* @license GNU General Public License version 2 or later; see LICENSE.txt
* -------------------------------------------------------------------------
* THIS SHOULD ONLY BE USED AS A LAST RESORT WHEN THE WEB INSTALLER FAILS
*
* If you are installing Sport Stars! manually ie not using the web browser installer
* then rename this file to config.php eg
*
* UNIX -> mv config.php.example config.php
* Windows -> rename config.php.example config.php
*
* Now edit this file and configure the parameters for your site and
* database.
*
* Finally move this file to the root folder of your Sport Stars installation eg
*
* UNIX -> mv config.php ../
* Windows -> copy config.php ../
*
* SOURCE: https://github.com/joomla/joomla-cms/blob/4.1-dev/installation/configuration.php-dist
*
*/
class LConfig
{
public $sitename = 'Sport Stars!'; // Name of Sport Stars site
/* Database Settings */
public $dbtype = 'mysqli'; // Normally mysqli
public $host = 'localhost'; // This is normally set to localhost
public $user = ''; // Database username
public $password = ''; // Database password
public $db = ''; // Database name
public $dbprefix = 'llewellyn_'; // LEAVE THIS UNCHANGED FOR NOW
}