fix URL to image view

This commit is contained in:
Isaac Connor committed 2016-05-16 10:32:43 -04:00
1 parent ed3e975e5a
commit 235095ed5f
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@ class Frame {
}
public function getImageSrc( ) {
return ZM_BASE_URL.'/index.php?view=image&fid='.$this->{'Id'};
return $_SERVER['PHP_SELF'].'?view=image&fid='.$this->{'Id'};
} // end function getImageSrc
public static function find( $parameters = array(), $limit = NULL ) {