PHP Classes

File: config.php

Recommend this page to a friend!
  Packages 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: 13 years 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';
?>