Changeset 2344763
- Timestamp:
- 07/22/2020 12:59:13 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chat2/tags/3.6.0/admin/field-configiguration-admin.php
r2344731 r2344763 15 15 16 16 public function __construct(){ 17 18 19 20 $installed = get_option('chat2_calculated_instance_name'); 21 if(!$installed){ 22 $insancename = str_replace('.', '', $_SERVER['HTTP_HOST']); 23 update_option('chat2_calculated_instance_name',true); 24 update_option('chat-field-settings-var-content', $insancename); 25 } 17 18 $insancename = str_replace('.', '', $_SERVER['HTTP_HOST']); 19 update_option('chat-field-settings-var-content', $insancename); 26 20 27 21
Note: See TracChangeset
for help on using the changeset viewer.