Navigation Menu

Skip to content

Commit

Permalink
Change variable name to be descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillerdesign committed May 18, 2013
1 parent 277ec8d commit 987c018
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Cake/Network/Email/CakeEmail.php
Expand Up @@ -1381,12 +1381,12 @@ protected function _attachFiles($boundary = null) {
/**
* Read the file contents and return a base64 version of the file contents.
*
* @param string $file The file to read.
* @param string $path The absolute path to the file to read.
* @return string File contents in base64 encoding
*/
protected function _readFile($file) {
$f = new File($file);
return $f->readBase64();
protected function _readFile($path) {
$File = new File($path);
return $File->readBase64();
}

/**
Expand Down

0 comments on commit 987c018

Please sign in to comment.