mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
made _rfile protected
This commit is contained in:
@@ -1148,12 +1148,12 @@ class parseCSV {
|
|||||||
/**
|
/**
|
||||||
* Read local file
|
* Read local file
|
||||||
*
|
*
|
||||||
* @access public
|
* @access protected
|
||||||
* @param file local filename
|
* @param file local filename
|
||||||
*
|
*
|
||||||
* @return Data from file, or false on failure
|
* @return Data from file, or false on failure
|
||||||
*/
|
*/
|
||||||
public function _rfile ($file = null) {
|
protected function _rfile ($file = null) {
|
||||||
if ( is_readable($file) ) {
|
if ( is_readable($file) ) {
|
||||||
if ( !($fh = fopen($file, 'r')) ) {
|
if ( !($fh = fopen($file, 'r')) ) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user