/var/www/hkosl.com/chineseaaedu/webadmin/configure.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
    
if (session_id() === "") {
        
session_start();
    }

    
//new pdo 

    
$dbh = new PDO("mysql:host=192.168.171.21;dbname=chineseaaedudb""chineseaaedusa""21@aedu2");

    
$dbh->exec("set names utf8"); 

    
date_default_timezone_set("Asia/Hong_Kong");

    
$nowdate date("Y-m-d H:i:s");

    
$langcode "en";
    
    
//error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
    
error_reporting(E_ALL);
    
ini_set('display_errors'1);
    include_once (
'common_function.php');

?>