blob: abfea299b75bdf1482a4d66331c0308ab284b9e7 (
plain)
1
2
3
4
5
6
|
<?php
$db = MySQLPDOTest::factory();
$stmt = $db->query("SHOW VARIABLES LIKE 'local_infile'");
if (($row = $stmt->fetch(PDO::FETCH_ASSOC)) && ($row['value'] != 'ON'))
die("skip Server variable 'local_infile' seems not set to 'ON', found '". $row['value'] ."'");
?>
|