Location: PHPKode > projects > WackoWiki > wacko/setup/database-install-pdo.php
<?php
 try
    {
      test($lang["TestConnectionString"], $dblink = @new PDO($dsn, $config2["database_user"], $config2["database_password"]), $lang["ErrorDBConnection"]);
      $dblink->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
   }
 catch(PDOException $e)
    {
      test($lang["TestConnectionString"], false, "PDO Error: ".$e->getMessage());
      $fatal_error = true;
    }
?>
Return current item: WackoWiki