move webparts into assets

This commit is contained in:
Alexandr
2018-01-18 14:24:33 +01:00
parent 4f1ea4de2d
commit 63011f7a53
6 changed files with 15 additions and 8 deletions

View File

@ -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();
}
}
?>
?>