Change project wide timezone to UTC.

This commit is contained in:
UltraDesu
2018-01-17 16:43:10 +03:00
parent 975f9116ed
commit 1b5ceb3c1b
3 changed files with 26 additions and 7 deletions

View File

@ -1,6 +1,7 @@
<?php
$config = parse_ini_file("../settings.ini");
$dbh = new PDO('mysql:host=localhost;dbname=test', 'root');
$dbh = new PDO('mysql:host='.$config['mysql_host'].';dbname='.$config['mysql_db'], $config['mysql_user']);
$request = file_get_contents('php://input');
$request = json_decode( $request, TRUE );