Changeset 75
- Timestamp:
- Dec 4, 2016, 1:40:00 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Core.php
r74 r75 15 15 var $ShowPage; 16 16 var $BaseURL; 17 var $UseSession; 17 18 18 19 function __construct() … … 20 21 parent::__construct(); 21 22 $this->Pages = array(); 23 $this->UseSession = true; 22 24 $this->ShowPage = true; 23 25 $this->BaseURL = $_SERVER['SCRIPT_NAME']; … … 30 32 global $Config, $DatabaseRevision, $WithoutSessionStart; 31 33 32 if(!isset($WithoutStartSession) or (isset($WithoutStartSession) and !$WithoutSessionStart)) 33 session_start(); 34 if($this->UseSession) session_start(); 34 35 35 36 $ErrorHandler = new ErrorHandler(); -
trunk/add.php
r74 r75 1 1 <?php 2 2 3 $WithoutSessionStart = true;4 3 include_once('Application/Core.php'); 5 4 6 5 $Core = new Core(); 6 $Core->UseSession = false; 7 7 $Core->ShowPage = false; 8 8 $Core->Run(); 9 10 9 11 10 if(array_key_exists('MeasureId', $_GET) and array_key_exists('Value', $_GET))
Note:
See TracChangeset
for help on using the changeset viewer.