Diff for mylist/mylist.config.php between version 1.2 and 1.3
version 1.2, 2005/03/25 23:35:19 |
version 1.3, 2005/03/28 09:45:16 |
|
|
<?php |
<?php |
|
|
// $Platon$ |
// $Platon: mylist/mylist.config.php,v 1.2 2005/03/25 23:35:19 nepto Exp $ |
|
|
// data source name and options for PHP PEAR DB |
// data source name and options for PHP PEAR DB |
$db_user = "mylist"; |
$db_user = "mylist"; |
|
|
$cl_projects_id = "id"; |
$cl_projects_id = "id"; |
$cl_projects_name = "name"; |
$cl_projects_name = "name"; |
|
|
|
|
// LOCAL SIGN-IN FILE |
// LOCAL SIGN-IN FILE |
$fl_sign_in = "sign-in.php"; // e.g. sign-in.php |
$fl_sign_in = "sign-in.php"; // e.g. sign-in.php |
|
|
|
require_once 'DB.php'; |
|
|
|
$dbh = DB::connect($dsn, $options); |
|
if (DB::isError($dbh)) { |
|
die($db->getMessage()); |
|
} |
|
$dbh->setFetchMode(DB_FETCHMODE_ASSOC); |
|
|
?> |
?> |
Platon Group <platon@platon.org> http://platon.org/
|
|