PHP Classes

File: build/config.php

Recommend this page to a friend!
  Classes of Zimo Xiao   Angel Framework   build/config.php   Download  
File: build/config.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Angel Framework
Handle HTTP requests received by Web applications
Author: By
Last change:
Date: 6 years ago
Size: 327 bytes
 

Contents

Class file image Download
<?php

   header
("Content-type: text/html; charset=utf-8"); //recommend to use UTF-8

  
date_default_timezone_set('PRC'); //recommend to use UTC time format

  
sql::config([

    
'address' => 'localhost',

    
'username' => 'root',

    
'password' => 'your_db_password',

    
'database' => 'db_name'

  
]); //sql config