Vergleich inc/db_pdo.php - 1.4.0 - 1.4.13

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: db_pdo.php 3873 2008-06-01 03:52:49Z Tikitiki $

 * $Id: db_pdo.php 4403 2009-07-22 13:55:13Z Tomm $

 */

class dbpdoEngine {

 */

class dbpdoEngine {

Zeile 46Zeile 46
		} 
catch(PDOException $exception)
{

		} 
catch(PDOException $exception)
{

    		echo 'Connection failed: '.$exception->getMessage();

    		die('Connection failed: '.$exception->getMessage());

		}

$this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

		}

$this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

Zeile 223Zeile 223
	 */
function get_attribute($attribute)
{

	 */
function get_attribute($attribute)
{

		$attribute = constant("PDO::{$attribute}");

		$attribute = $this->db->getAttribute(constant("PDO::".$attribute.""));

		
return $attribute;
}

		
return $attribute;
}