Changeset 1512 for branches/3.0
- Timestamp:
- 11/26/2006 08:53:30 AM (2 years ago)
- Location:
- branches/3.0
- Files:
-
- 2 modified
-
HISTORY (modified) (1 diff)
-
framework/TApplication.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/HISTORY
r1511 r1512 4 4 BUG: Ticket#467 - typo in TUrlMapping.php (Qiang) 5 5 BUG: TTableCell should render only when Text is not set and there's no child (Qiang) 6 BUG: global state was not saved when redirect() is invoked (Qiang) 6 7 ENH: Ticket#446 - Added TMetaTagCollection.getMetaTagByID method (Qiang) 7 8 CHG: Ticket#437 - __autoload is replaced by spl_autoload_register (Qiang) -
branches/3.0/framework/TApplication.php
r1497 r1512 437 437 protected function saveGlobals() 438 438 { 439 if(!$this->_stateChanged) 440 return; 441 $this->getApplicationStatePersister()->save($this->_globals); 439 if($this->_stateChanged) 440 { 441 $this->_stateChanged=false; 442 $this->getApplicationStatePersister()->save($this->_globals); 443 } 442 444 } 443 445 … … 1035 1037 public function onEndRequest() 1036 1038 { 1039 $this->saveGlobals(); // save global state 1037 1040 $this->raiseEvent('OnEndRequest',$this,null); 1038 1041 }
