PHP Classes

File: examples/db/config.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/db/config.php   Download  
File: examples/db/config.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 8 years ago
Size: 576 bytes
 

Contents

Class file image Download
<?php

$ConfigArray
= array(
'DBDSN' => array(
   
'hostspec' => "localhost",
   
'database' => "skeleton",
   
'username' => "skeleton",
   
'password' => "skeleton",
    ),
'DBDSN_SQLITE' => array(
   
'filename'=>'database.sqlite',
   
'mode'=>0666
   
),
);

ini_set('display_errors',1);
ini_set('error_reporting', E_ALL|E_STRICT);
ini_set('include_path', dirname(__FILE__) . '/../../' . PATH_SEPARATOR . ini_get('include_path'));
include
dirname(__FILE__) . '/../../A/autoload.php';

function
dump($var, $name='') {
    echo
$name . '<pre>' . print_r($var, 1) . '</pre>';
}