PHP Classes

File: AzizMVC/configs.php

Recommend this page to a friend!
  Classes of Aziz S. Hussain   Aziz MVC   AzizMVC/configs.php   Download  
File: AzizMVC/configs.php
Role: Configuration script
Content type: text/plain
Description: Database configuration file
Class: Aziz MVC
Framework that uses MVC design pattern
Author: By
Last change: Fixed Minor Bugs
Date: 13 years ago
Size: 871 bytes


Class file image Download
if(!defined('BASEPATH')){ die();}


AzizMVC By Aziz S. Hussain
Licensed under LGPL

File Name: configs.php

This file contains the database connection information, this is virtually the only file you need to change
to make the model section work

$MVC_Configs = array();
// Host Name
$MVC_Configs['databaseHost'] = 'localhost';
// User Name
$MVC_Configs['databaseUser'] = 'root';
// User Password
$MVC_Configs['databasePassword'] = '';
// Database Name
$MVC_Configs['databaseName'] = 'amana';

/* Plugins/Helpers Auto Loads */
/* Plugins */
$MVC_Configs['pluginAuto'] = array('template','database');
/* Helpers */
$MVC_Configs['helperAuto'] = array();

/* Main controller */
$MVC_Configs['mainController'] = 'welcome';

// End of file /AzizMVC/configs.php