Changeset 2352898
- Timestamp:
- 08/05/2020 07:54:40 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chat2/tags/3.6.1/admin/field-configiguration-admin.php
r2351590 r2352898 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('.', '', $insancename); 30 31 update_option('chat-field-settings-var-content', $insancename); 31 32 }
Note: See TracChangeset
for help on using the changeset viewer.