diff options
Diffstat (limited to 'picture.php')
-rw-r--r-- | picture.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/picture.php b/picture.php index 7f5878e60..1d35b9613 100644 --- a/picture.php +++ b/picture.php @@ -965,7 +965,10 @@ if (isset($picture['next']) // +-----------------------------------------------------------------------+ include(PHPWG_ROOT_PATH.'include/picture_rate.inc.php'); -include(PHPWG_ROOT_PATH.'include/picture_comment.inc.php'); +if ($conf['activate_comments']) +{ + include(PHPWG_ROOT_PATH.'include/picture_comment.inc.php'); +} if ($metadata_showable and pwg_get_session_var('show_metadata') <> null ) { include(PHPWG_ROOT_PATH.'include/picture_metadata.inc.php'); |