cvs: pear /Structures_DataGrid/DataGrid/DataSource CSV.php
| From: | Andrew Nagy | Date: | Mon, 11 Apr 2005 21:59:42 +0000 |
| Subject: | cvs: pear /Structures_DataGrid/DataGrid/DataSource CSV.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-31109@lists.php.net to get a copy of this message | ||
asnagy Mon Apr 11 17:59:42 2005 EDT
Modified files:
/pear/Structures_DataGrid/DataGrid/DataSource CSV.php
Log:
added @ to harness warning on is_file call
http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/DataSource/CSV.php?r1=1.5&r2=1.6&ty=u
Index: pear/Structures_DataGrid/DataGrid/DataSource/CSV.php
diff -u pear/Structures_DataGrid/DataGrid/DataSource/CSV.php:1.5
pear/Structures_DataGrid/DataGrid/DataSource/CSV.php:1.6
--- pear/Structures_DataGrid/DataGrid/DataSource/CSV.php:1.5 Mon Apr 11 16:53:00 2005
+++ pear/Structures_DataGrid/DataGrid/DataSource/CSV.php Mon Apr 11 17:59:42 2005
@@ -16,7 +16,7 @@
// | Author: Andrew Nagy <asnagy@webitecture.org> |
// +----------------------------------------------------------------------+
//
-// $Id: CSV.php,v 1.5 2005/04/11 20:53:00 asnagy Exp $
+// $Id: CSV.php,v 1.6 2005/04/11 21:59:42 asnagy Exp $
require_once 'Structures/DataGrid/DataSource/Array.php';
@@ -26,7 +26,7 @@
* This class is a data source driver for a CSV File. It will also support any
* other delimiter.
*
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
* @author Andrew Nagy <asnagy@webitecture.org>
* @access public
* @package Structures_DataGrid
@@ -55,7 +55,7 @@
$this->setOptions($options);
}
- if (is_file($csv)) {
+ if (@is_file($csv)) {
if (!$rowList = file($csv)) {
return new PEAR_Error('Could not read file');
}