Changeset 12887 for trunk/comments.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/comments.php

    r12796 r12887  
    2828include_once(PHPWG_ROOT_PATH.'include/common.inc.php');
    2929include_once(PHPWG_ROOT_PATH.'include/functions_comment.inc.php');
     30
     31if (!$conf['activate_comments'])
     32{
     33  page_not_found(null);
     34}
    3035
    3136// +-----------------------------------------------------------------------+
Note: See TracChangeset for help on using the changeset viewer.