Plugin Directory

Changeset 1573493


Ignore:
Timestamp:
01/12/2017 05:51:24 PM (10 years ago)
Author:
mixforms
Message:

Small fix

Location:
mixforms
Files:
20 added
1 edited

Legend:

Unmodified
Added
Removed
  • mixforms/trunk/mixforms.php

    r1573485 r1573493  
    33                Plugin Name: MixForms
    44                Description: MixForms Formbuilder
    5                 Version: 1.02
     5                Version: 1.03
    66        */
    77
    … …  
    1818
    1919                public function __construct() {
    20                         $this->env = strpos($_SERVER["HTTP_HOST"], ".local.nl") === false ? "live" : "local";
    21                         $this->baseUrl = ($this->env === "local" ? "http://formbuilder.local.nl" : "https://mix-forms.com");
    22                         $this->baseUrlViewer = ($this->env === "local" ? "http://view.formbuilder.local.nl" : "https://view.mix-forms.com");
     20                        $this->env = "live";
     21                        $this->baseUrl = "https://mix-forms.com";
     22                        $this->baseUrlViewer =  "https://view.mix-forms.com";
    2323
    2424                        $this->scriptsUrl = plugins_url("/assets/js/scripts-admin.js", __FILE__); // TODO .min
Note: See TracChangeset for help on using the changeset viewer.