Changeset 447 for branches/eli_branch/lib/App.inc.php
- Timestamp:
- Dec 13, 2013 11:24:08 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eli_branch/lib/App.inc.php
r446 r447 30 30 */ 31 31 32 //ob_start();33 34 32 // Message Types. 35 33 define('MSG_ERR', 1); … … 321 319 322 320 // Session parameters. 323 /*324 321 ini_set('session.gc_probability', 1); 325 322 ini_set('session.gc_divisor', 1000); … … 330 327 ini_set('session.entropy_length', '512'); 331 328 ini_set('session.cookie_httponly', true); 332 * */333 329 session_name($this->getParam('session_name')); 334 330 … … 343 339 344 340 // Start the session. 345 //session_start();341 session_start(); 346 342 347 343 if (!isset($_SESSION['_app'][$this->_ns])) { … … 378 374 379 375 // Character set. This should also be printed in the html header template. 380 //header('Content-type: text/html; charset=' . $this->getParam('character_set'));376 header('Content-type: text/html; charset=' . $this->getParam('character_set')); 381 377 382 378 // Set the version of the codebase we're using. … … 385 381 $codebase_version = trim(file_get_contents($codebase_version_file)); 386 382 $this->setParam(array('codebase_version' => $codebase_version)); 387 //header('X-Codebase-Version: ' . $codebase_version);383 header('X-Codebase-Version: ' . $codebase_version); 388 384 } 389 385 … … 472 468 return false; 473 469 } 474 //die($_SESSION['_app'][$this->_ns]['messages']);475 470 return isset($_SESSION['_app'][$this->_ns]['messages']) ? $_SESSION['_app'][$this->_ns]['messages'] : array(); 476 471 }
Note: See TracChangeset
for help on using the changeset viewer.