diff options
author | Charlie Marshall <charlie0440@gmail.com> | 2013-08-02 23:52:25 +0100 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-08-05 07:12:07 -0300 |
commit | a4c8381187a6d83d4f93d47da744e3dd02ce7613 (patch) | |
tree | 640d3ce3ad9edc6bf8d380089e171c6e9b8c8e2c /usr/local/www/widgets/widgets | |
parent | 4c47d7c2b7d2ebbb209b5f906fdfdacea1989a8e (diff) | |
download | pfsense-a4c8381187a6d83d4f93d47da744e3dd02ce7613.zip pfsense-a4c8381187a6d83d4f93d47da744e3dd02ce7613.tar.gz |
typos
Diffstat (limited to 'usr/local/www/widgets/widgets')
-rw-r--r-- | usr/local/www/widgets/widgets/picture.widget.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/widgets/widgets/picture.widget.php b/usr/local/www/widgets/widgets/picture.widget.php index 145768c..199cb9d 100644 --- a/usr/local/www/widgets/widgets/picture.widget.php +++ b/usr/local/www/widgets/widgets/picture.widget.php @@ -49,13 +49,13 @@ if($_POST) { /* read the file contents */ $fd_pic = fopen($_FILES['pictfile']['tmp_name'], "rb"); while ( ($buf=fread( $fd_pic, 8192 )) != '' ) { - // Here, $buf is guaranted to contain data + // Here, $buf is guaranteed to contain data $data .= $buf; } fclose($fd_pic); if(!$data) { log_error("Warning, could not read file " . $_FILES['pictfile']['tmp_name']); - die("Cold not read temporary file"); + die("Could not read temporary file"); } else { $picname = basename($_FILES['uploadedfile']['name']); $config['widgets']['picturewidget'] = base64_encode($data); |