Changeset 915 for trunk/Application/BaseView.php
- Timestamp:
- Dec 7, 2021, 9:56:09 PM (4 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  trunk/Application/BaseView.php (modified) (3 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/Application/BaseView.phpr912 r915 5 5 class BaseView extends View 6 6 { 7 var $TimeStart;8 7 public bool $FormatHTML = false; 9 8 public bool $ShowRuntimeInfo = false; … … 24 23 $this->Encoding = 'utf-8'; 25 24 $this->Style = 'new'; 26 27 // TODO: Move to external code28 if (isset($this->System->Config['Web']['FormatHTML']))29 $this->FormatHTML = $this->System->Config['Web']['FormatHTML'];30 if (isset($this->System->Config['Web']['ShowRuntimeInfo']))31 $this->ShowRuntimeInfo = $this->System->Config['Web']['ShowRuntimeInfo'];32 if (isset($this->System->Config['Web']['Charset']))33 $this->Encoding = $this->System->Config['Web']['Charset'];34 if (isset($this->System->Config['Web']['Style']))35 $this->Style = $this->System->Config['Web']['Style'];36 25 } 37 26 … … 110 99 function ShowFooter(): string 111 100 { 112 global $ ScriptTimeStart, $Revision, $ReleaseTime;101 global $Revision, $ReleaseTime; 113 102 114 $Time = round(GetMicrotime() - $ ScriptTimeStart, 2);103 $Time = round(GetMicrotime() - $this->System->ScriptTimeStart, 2); 115 104 $Output = ''; 116 105 if ($this->BasicHTML == false) 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
