diff --git a/phpSmug.php b/phpSmug.php index c5989b6..61e807c 100644 --- a/phpSmug.php +++ b/phpSmug.php @@ -678,6 +678,7 @@ public function images_upload() ( isset( $args['Latitude'] ) ) ? $upload_req->setHeader( 'X-Smug-Latitude', $args['Latitude'] ) : false; ( isset( $args['Longitude'] ) ) ? $upload_req->setHeader( 'X-Smug-Longitude', $args['Longitude'] ) : false; ( isset( $args['Altitude'] ) ) ? $upload_req->setHeader( 'X-Smug-Altitude', $args['Altitude'] ) : false; + ( isset( $args['Hidden'] ) ) ? $upload_req->setHeader( 'X-Smug-Hidden', $args['Hidden'] ) : false; //$proto = ( $this->oauth_signature_method == 'PLAINTEXT' || $this->secure ) ? 'https' : 'http'; // No secure uploads at this time. //$upload_req->setURL( $proto . '://upload.smugmug.com/'.$args['FileName'] ); @@ -1537,4 +1538,4 @@ private function _unchunk( $body ) } } -?> +?> \ No newline at end of file