Login   Register  
PHP Classes
elePHPant
Icontem

File: config.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ersun Özer  >  Config Manager Class  >  config.php  >  Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: config file
Class: Config Manager Class
Read configuration values from PHP scripts
Author: By
Last change: added new line
Date: 1 year ago
Size: 211 bytes
 

Contents

Class file image Download
<?php
 $config
['controller'] = 'index';
 
$config['method'] = 'index';

 
// mysql
 
$config['host'] = 'localhost';
 
$config['user'] = 'root';
 
$config['pass'] = 'root';
 
$config['db'] = 'databasename';
?>