Ignore:
Timestamp:
Aug 9, 2012, 10:46:10 PM (12 years ago)
Author:
mistic100
Message:

clean definition of CONTACT_FORM_PUBLIC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/include/functions.inc.php

    r17491 r17518  
    99  global $tokens, $page, $conf;
    1010 
    11   if (!defined('CONTACT_FORM_PUBLIC')) define('CONTACT_FORM_PUBLIC', make_index_url(array('section' => 'contact')) . '/');
    12 
    1311  if ($tokens[0] == 'contact')
    1412  {
     
    4139  if ( !is_classic_user() and !$conf['ContactForm']['cf_allow_guest'] ) return;
    4240  if ( !count(get_contact_emails()) ) return;
    43  
    44   if (!defined('CONTACT_FORM_PUBLIC')) define('CONTACT_FORM_PUBLIC', make_index_url(array('section' => 'contact')) . '/');
    4541
    4642  $menu = &$menu_ref_arr[0];
Note: See TracChangeset for help on using the changeset viewer.