skipifinfilenotallowed.inc 266 B

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