Plugin Directory

Changeset 2352898


Ignore:
Timestamp:
08/05/2020 07:54:40 AM (6 years ago)
Author:
chat2
Message:

Fix www

File:
1 edited

Legend:

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

    r2351590 r2352898  
    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('.', '', $insancename);                       
    3031            update_option('chat-field-settings-var-content', $insancename);
    3132         }
Note: See TracChangeset for help on using the changeset viewer.