summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets
diff options
context:
space:
mode:
authorCharlie Marshall <charlie0440@gmail.com>2013-08-02 23:52:25 +0100
committerCharlie Marshall <charlie0440@gmail.com>2013-08-02 23:52:25 +0100
commit27b745e893c1b58cda62d0c29118dacf717df66a (patch)
tree131b4a52b27205af070e09968b62e6c02827fd1e /usr/local/www/widgets
parent7fdf29708c350dc7bad18b69ed201b734e77e20b (diff)
downloadpfsense-27b745e893c1b58cda62d0c29118dacf717df66a.zip
pfsense-27b745e893c1b58cda62d0c29118dacf717df66a.tar.gz
typos
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r--usr/local/www/widgets/widgets/picture.widget.php4
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 cb71b50..013d30c 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);
OpenPOWER on IntegriCloud