mirror of
https://github.com/house-of-vanity/tracker_watcher.git
synced 2025-07-07 09:54:08 +00:00
move webparts into assets
This commit is contained in:
@ -1,7 +1,11 @@
|
||||
<?php
|
||||
$config = parse_ini_file("../settings.ini");
|
||||
|
||||
$dbh = new PDO('mysql:host='.$config['mysql_host'].';dbname='.$config['mysql_db'], $config['mysql_user']);
|
||||
$dbh = new PDO(
|
||||
'mysql:host='.$config['mysql_host'].';dbname='.$config['mysql_db'],
|
||||
$config['mysql_user'],
|
||||
$config['mysql_pass']
|
||||
);
|
||||
|
||||
$request = file_get_contents('php://input');
|
||||
$request = json_decode( $request, TRUE );
|
||||
@ -214,4 +218,4 @@ else
|
||||
register();
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user