Changeset 2351329
- Timestamp:
- 08/03/2020 06:02:11 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chat2/tags/3.6.0/admin/field-configiguration-admin.php
r2345501 r2351329 27 27 $subdomain = get_option('chat-field-settings-var-content') ? get_option('chat-field-settings-var-content') : false; 28 28 if(!$subdomain){ 29 $insancename = str_replace('.', '', $_SERVER['HTTP_HOST']); 29 $insancename = str_replace('www.', '', $_SERVER['HTTP_HOST']); 30 $insancename = str_replace('.', '', $_SERVER['HTTP_HOST']); 30 31 update_option('chat-field-settings-var-content', $insancename); 31 32 }
Note: See TracChangeset
for help on using the changeset viewer.