mlMemberRoller/vendor/notorm/tests/connect.inc.php

9 lines
338 B
PHP

<?php
error_reporting(E_ALL | E_STRICT);
include dirname(__FILE__) . "/../NotORM.php";
$connection = new PDO("mysql:dbname=software", "ODBC");
$connection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
$connection->setAttribute(PDO::ATTR_CASE, PDO::CASE_LOWER);
$software = new NotORM($connection);
//~ $software->debug = true;