Plugin Directory

Changeset 2633623


Ignore:
Timestamp:
11/22/2021 03:44:59 PM (4 years ago)
Author:
qisstpay
Message:

change session condition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qisstpay/trunk/class_woo_qp_pgw.php

    r2617841 r2633623  
    356356<?php
    357357        global $woocommerce;
    358         session_start();
     358        if (session_status() === PHP_SESSION_NONE) {
     359            session_start();
     360        }
    359361        if (! empty($_SESSION['iframe_url'])) {
    360362?>
Note: See TracChangeset for help on using the changeset viewer.