Ignore:
Timestamp:
Oct 16, 2012, 10:53:09 AM (12 years ago)
Author:
mistic100
Message:

handle empty file case, check COA and GuestBook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/comments_blacklist/admin.php

    r18369 r18651  
    1919$template->assign($conf['comments_blacklist']);
    2020$template->assign(array(
    21   'blacklist' => file_get_contents(COMM_BLACKLIST_FILE),
     21  'blacklist' => @file_get_contents(COMM_BLACKLIST_FILE),
    2222  'COMM_BLACKLIST_PATH'=> get_root_url() . COMM_BLACKLIST_PATH,
    2323  'COMM_BLACKLIST_ADMIN' => COMM_BLACKLIST_ADMIN,
Note: See TracChangeset for help on using the changeset viewer.