Changeset 12887 for trunk/picture.php


Ignore:
Timestamp:
Jan 14, 2012, 11:29:10 PM (12 years ago)
Author:
mistic100
Message:

feature:2549 Allow to disable comments for everybody

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r12855 r12887  
    966966
    967967include(PHPWG_ROOT_PATH.'include/picture_rate.inc.php');
    968 include(PHPWG_ROOT_PATH.'include/picture_comment.inc.php');
     968if ($conf['activate_comments'])
     969{
     970  include(PHPWG_ROOT_PATH.'include/picture_comment.inc.php');
     971}
    969972if ($metadata_showable and pwg_get_session_var('show_metadata') <> null )
    970973{
Note: See TracChangeset for help on using the changeset viewer.