Plugin Directory

Changeset 2351329


Ignore:
Timestamp:
08/03/2020 06:02:11 AM (6 years ago)
Author:
chat2
Message:

Settings changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chat2/tags/3.6.0/admin/field-configiguration-admin.php

    r2345501 r2351329  
    2727             $subdomain = get_option('chat-field-settings-var-content') ? get_option('chat-field-settings-var-content') : false;
    2828             if(!$subdomain){
    29                 $insancename = str_replace('.', '', $_SERVER['HTTP_HOST']);                         
     29                $insancename = str_replace('www.', '', $_SERVER['HTTP_HOST']);   
     30                $insancename = str_replace('.', '', $_SERVER['HTTP_HOST']);   
    3031                update_option('chat-field-settings-var-content', $insancename);
    3132             }
Note: See TracChangeset for help on using the changeset viewer.