Skip to content

Sample database.php

ichikaway edited this page Sep 13, 2010 · 1 revision

<?php
class DATABASE_CONFIG {

    var $default = array(
        'datasource' => 'mongodb',
        'host' => 'localhost',
        'login' => '',
        'password' => '',
        'database' => 'blog',
        'port' => 27017,
        'prefix' => '',
    );

    var $test = array(
        'datasource' => 'mongodb',
        'host' => 'localhost',
        'login' => '',
        'password' => '',
        'database' => 'blog_test',
        'port' => 27017,
        'prefix' => '',
    );
?>

Clone this wiki locally