diff options
author | Tom Moor <tom.moor@gmail.com> | 2012-06-15 07:14:55 +0800 |
---|---|---|
committer | Tom Moor <tom.moor@gmail.com> | 2012-06-15 07:14:55 +0800 |
commit | ed98421d1039aaabe329bff0355f9499d1b8a5e8 (patch) | |
tree | f45e6a4ce9dec14631fd5820c13f1ee6ce109b24 | |
parent | 1a0221ddcb5bafd0a71641e16626c2103472f3c2 (diff) | |
download | fastimage-ed98421d1039aaabe329bff0355f9499d1b8a5e8.zip fastimage-ed98421d1039aaabe329bff0355f9499d1b8a5e8.tar.gz fastimage-ed98421d1039aaabe329bff0355f9499d1b8a5e8.tar.bz2 |
Fixed: missing load method
-rw-r--r-- | Fastimage.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Fastimage.php b/Fastimage.php index 2227e10..a4071df 100644 --- a/Fastimage.php +++ b/Fastimage.php @@ -21,11 +21,11 @@ class FastImage public function __construct($uri) { - if ($uri) $this->open($uri); + if ($uri) $this->load($uri); } - public function open($uri) + public function load($uri) { if ($this->handle) $this->close(); |