aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--picture.php18
1 files changed, 4 insertions, 14 deletions
diff --git a/picture.php b/picture.php
index 2b53b4868..f63301a24 100644
--- a/picture.php
+++ b/picture.php
@@ -249,20 +249,10 @@ foreach (array('prev', 'current', 'next') as $i)
// high quality picture
if ($i == 'current')
{
- $url_high=$cat_directory.'/pwg_high/'.$row['file'];
- if (url_is_remote($cat_directory))
+ if ($row['has_high']=='true')
{
- if ($row['has_high'])
- {
- $picture[$i]['high'] = $url_high;
- }
- }
- else
- {
- if (@fopen($url_high, 'r'))
- {
- $picture[$i]['high'] = $url_high;
- }
+ $url_high=$cat_directory.'/pwg_high/'.$row['file'];
+ $picture[$i]['high'] = $url_high;
}
}
}
@@ -1054,7 +1044,7 @@ if ($page['show_comments'])
// navigation bar creation
$url = PHPWG_ROOT_PATH.'picture.php';
- $url.= get_query_string_diff(array('rate','add_fav'));
+ $url.= get_query_string_diff(array('rate','add_fav','start'));
if (!isset( $_GET['start'] )
or !is_numeric( $_GET['start'] )