PHP Classes

File: src/Settings/database.php

Recommend this page to a friend!
  Packages of Duong Huynh Nghia   PHP Slim Framework 3 Modular Application   src/Settings/database.php   Download  
File: src/Settings/database.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Slim Framework 3 Modular Application
Create modular applications using Slim Framework
Author: By
Last change:
Date: 9 years ago
Size: 574 bytes
 

 

Contents

Class file image Download
<?php
/*$database = array( 
    'host' => 'localhost',
    'name' => 'simpleorm',
    'user' => 'root',
    'pwd' => '123456',
    'port' => 3306,
    'prefix' => 'tbl_',
    'adapter' => 'mysqli',
    'charset' => 'utf8',
    'type' => 'mysql'
);*/
$database = array(
   'default' => array(
       'driver' => 'mysql',
       'host' => 'localhost',
       'database' => 'simpleorm',
       'username' => 'root',
       'password' => '123456',
       'charset'   => 'utf8',
       'collation' => 'utf8_unicode_ci',
       'prefix'    => 'tbl_',
   ),
);
return $database;
?>