Changeset 75 for trunk/Application


Ignore:
Timestamp:
Dec 4, 2016, 1:40:00 PM (8 years ago)
Author:
chronos
Message:
  • Fixed: Do not start session for new value addition.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Core.php

    r74 r75  
    1515  var $ShowPage;
    1616  var $BaseURL;
     17  var $UseSession;
    1718
    1819  function __construct()
     
    2021    parent::__construct();
    2122    $this->Pages = array();
     23    $this->UseSession = true;
    2224    $this->ShowPage = true;
    2325    $this->BaseURL = $_SERVER['SCRIPT_NAME'];
     
    3032    global $Config, $DatabaseRevision, $WithoutSessionStart;
    3133
    32     if(!isset($WithoutStartSession) or (isset($WithoutStartSession) and !$WithoutSessionStart))
    33       session_start();
     34    if($this->UseSession) session_start();
    3435
    3536    $ErrorHandler = new ErrorHandler();
Note: See TracChangeset for help on using the changeset viewer.