/var/www/hkosl.com/alliancealliance/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
24
25
26
27
28
29
<?php
    
if (session_id() === "") {
        
session_start();
    }

    
//new pdo

    
$dbh = new PDO("mysql:host=192.168.155.13;dbname=dev_alliancealliance""admin""PHac7dru");

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

    
date_default_timezone_set("Asia/Hong_Kong");

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

    
//error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
    
error_reporting(E_ERROR);
    
ini_set('display_errors'1);

    
ini_set('session.cookie_httponly'1);

    
header("Content-Type:text/html; charset=utf-8");
    
header("x-frame-options:SAMEORIGIN");

    
$google_recaptcha_site_key "6LelWQ8TAAAAAPxA3Y1rFZZgkBdf9q_Bvvzl-Dcw";
    
$google_recaptcha_secret_key "6LelWQ8TAAAAAMbupbh73-Y8WoPOn0OAPAreAj2n";