Plugin Directory

Changeset 2344763


Ignore:
Timestamp:
07/22/2020 12:59:13 PM (6 years ago)
Author:
chat2
Message:

New versión of Chat2 by David

File:
1 edited

Legend:

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

    r2344731 r2344763  
    1515   
    1616        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);
    2620       
    2721           
Note: See TracChangeset for help on using the changeset viewer.