Plugin Directory

Changeset 2403057


Ignore:
Timestamp:
10/20/2020 09:59:10 AM (5 years ago)
Author:
globalprogramming
Message:

Release - 6.0b3

Location:
whmcs-bridge/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • whmcs-bridge/trunk/bridge.init.php

    r2395447 r2403057  
    44if (!defined('WHMCS_BRIDGE_PAGE')) define('WHMCS_BRIDGE_PAGE','WHMCS');
    55
    6 define("CC_WHMCS_BRIDGE_VERSION","6.0b2");
     6define("CC_WHMCS_BRIDGE_VERSION","6.0b3");
    77
    88if (!defined('PHP_VERSION_ID')) {
     
    970970        cc_whmcsbridge_sso_session();
    971971
    972     if (session_status() == PHP_SESSION_NONE)
     972    if (session_status() == PHP_SESSION_NONE && !headers_sent())
    973973        session_start();
    974974
  • whmcs-bridge/trunk/bridge.php

    r2395447 r2403057  
    55 Description: WHMCS Bridge is a plugin that integrates the powerful WHMCS support and billing software with WordPress.
    66 Author: globalprogramming
    7  Version: 6.0b2
     7 Version: 6.0b3
    88 Author URI: http://i-plugins.com/
    99 */
  • whmcs-bridge/trunk/includes/http.class.php

    r2395447 r2403057  
    302302        if (function_exists('cc_whmcsbridge_sso_session'))
    303303            cc_whmcsbridge_sso_session();
    304         if (session_status() == PHP_SESSION_NONE)
     304        if (session_status() == PHP_SESSION_NONE && !headers_sent())
    305305            session_start();
    306306
     
    505505            if (empty($cookies))
    506506                $cookies = $_SESSION['cookieCache'];
    507 
    508507        } else {
    509508            $headers = array();
     
    610609                    && strstr($redir, 'store/') === false
    611610                    && strstr($redir, 'clientarea.php') === false
     611                    && strstr($redir, 'rp=/login') === false
    612612                        && stristr($redir, '://') === false
    613613                ) {
     
    616616                } else if (stristr($redir, ':208') !== false) {
    617617                    $bounce = true;
    618                     $this->debug(0, 'S4: '.$redir);
    619 //                } else if (stristr($redir, 'clientarea.php') !== false && !empty($rawPost)) {
    620 //                    $bounce = true;
    621 //                    $redir = $this->_protocol . '://' .$this->_host .$this->_path. $redir;
    622 //                    $this->debug(0, 'S4.1: '.$redir);
     618                    $this->debug(0, 'S4: ' . $redir);
     619                    //                } else if (stristr($redir, 'clientarea.php') !== false && !empty($rawPost)) {
     620                    //                    $bounce = true;
     621                    //                    $redir = $this->_protocol . '://' .$this->_host .$this->_path. $redir;
     622                    //                    $this->debug(0, 'S4.1: '.$redir);
     623                } else if ($redir == '/clientarea.php') {
     624                    $bounce = true;
     625                    $redir = $this->_protocol . '://' .$this->_host .$this->_path. $redir;
     626                    $this->debug(0, 'S4.1: '.$redir);
    623627                } else {
    624628                    $redir = $this->_host . $redir;
  • whmcs-bridge/trunk/readme.txt

    r2395447 r2403057  
    55Requires at least: 5.0
    66Tested up to: 5.5.1
    7 Stable tag: 6.0b2
     7Stable tag: 6.0b3
    88License: GPLv3
    99
     
    7777
    7878== Changelog ==
     79
     80= 6.0b3 =
     81* More Bug fixes for WHMCS 8.x
    7982
    8083= 6.0b2 =
Note: See TracChangeset for help on using the changeset viewer.