diff options
Diffstat (limited to 'phpfspot_img.php')
-rw-r--r-- | phpfspot_img.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/phpfspot_img.php b/phpfspot_img.php index 8379b83..f298b00 100644 --- a/phpfspot_img.php +++ b/phpfspot_img.php @@ -34,8 +34,8 @@ require_once "phpfspot.class.php"; */ class PHPFSPOT_IMG { - var $db; - var $parent; + private $db; + private $parent; /** * PHPFSPOT_IMG class constructor @@ -62,6 +62,8 @@ class PHPFSPOT_IMG { * the client - in the specified width. it also try's * to create on-the-fly missing thumbnails via PHPFSPOT * gen_thumbs function. + * @param integer $idx + * @param integer $width */ public function show($idx, $width = 0) { @@ -126,7 +128,7 @@ class PHPFSPOT_IMG { } // show() -} +} // PHPFSPOT_IMG() if(isset($_GET['idx']) && (is_numeric($_GET['idx']) || $_GET['idx'] == 'rand')) { |