PHP Classes

File: examples/cms/config.php

Recommend this page to a friend!
  Packages of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/cms/config.php   Download  
File: examples/cms/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: 10 years ago
Size: 705 bytes
 

Contents

Class file image Download
<?php
$ConfigArray = array(
// Site specific settings
'DBDSN' => array(
    'phptype' => 'mysql',
    'hostspec' => 'localhost',
    'database' => 'xxxx',
    'username' => 'xxxx',
    'password' => 'xxxx',
    ),

'APP' => './app/',
'BASE' => 'http://skeleton/examples/blog/',
);

function dump($var='', $name='') {
    static $output = '';
        
    if ($var) {
#    echo '<div style="position:absolute;top:0;right:0;width:900px;background:#fff;border:1px solid #ddd;padding:10px;"';
        $output .= '<div style="clear:both;background:#fff;border:1px solid #ddd;padding:10px;">';
        $output .= $name . '<pre>' . print_r($var, 1) . '</pre>';
        $output .= '</div>';
    } else {
        echo $output;
    }
}