[ Index ] |
|
Code source de SPIP Agora 1.4 |
1 <?php 2 3 error_reporting(E_ALL); 4 5 require_once './setup.inc'; 6 7 if (!defined('DRIVER_DSN')) { 8 die('A DRIVER_DSN constant was not defined in setup.inc'); 9 } 10 11 if (substr(DRIVER_DSN, 0, 5) == 'mssql') { 12 ini_set('mssql.textlimit', 4096); 13 ini_set('mssql.textsize', 4096); 14 } 15 16 // Setting of $options and requiring DB are done in setup.inc 17 18 $dbh =& DB::connect(DRIVER_DSN, $options); 19 if (DB::isError($dbh)) { 20 die("connect.inc: ".$dbh->toString()); 21 } 22 23 function debug_die($o){ 24 die($o->toString()); 25 } 26 27 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 14:40:03 2007 | par Balluche grâce à PHPXref 0.7 |