les commentaires dans l'historique sont en gras
[bazdig.git] / bazdig / db / set / index.php
blob0afb7d557b9c9bfca83f73423ebe79ccc4db8906
1 <?php
2 session_start();
4 define('WARAQ_ROOT', '../../..');
5 require_once WARAQ_ROOT .'/'. 'ini.php';
7 $_SESSION['db_type'] = $_GET['dbt'];
8 $_SESSION['db_name'] = $_GET['dbn'];
9 $_SESSION['db_host'] = $_GET['dbh'];
10 $_SESSION['db_user'] = $_GET['dbu'];
11 $_SESSION['db_password'] = $_GET['dbp'];
13 header('Location: '. $bazdig->get('/console')->url );