Changeset 915 for trunk/Application/Core.php
- Timestamp:
- Dec 7, 2021, 9:56:09 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Core.php
r912 r915 26 26 public LocaleManager $LocaleManager; 27 27 public array $LinkLocaleExceptions; 28 public float $ScriptTimeStart; 28 29 29 30 function __construct() … … 59 60 { 60 61 $this->BaseView = new BaseView($this); 62 if (isset($this->Config['Web']['FormatHTML'])) 63 $this->BaseView->FormatHTML = $this->Config['Web']['FormatHTML']; 64 if (isset($this->Config['Web']['ShowRuntimeInfo'])) 65 $this->BaseView->ShowRuntimeInfo = $this->Config['Web']['ShowRuntimeInfo']; 66 if (isset($this->Config['Web']['Charset'])) 67 $this->BaseView->Encoding = $this->Config['Web']['Charset']; 68 if (isset($this->Config['Web']['Style'])) 69 $this->BaseView->Style = $this->Config['Web']['Style']; 61 70 62 71 /* @var $Page Page */ … … 89 98 function RunCommon(): void 90 99 { 91 global $Database, $ ScriptTimeStart, $ConfigFileName, $Config, $GlobalLocaleManager;100 global $Database, $ConfigFileName, $Config, $GlobalLocaleManager; 92 101 93 102 date_default_timezone_set('Europe/Prague'); 94 103 mb_internal_encoding("UTF-8"); 95 $ ScriptTimeStart = GetMicrotime();104 $this->ScriptTimeStart = GetMicrotime(); 96 105 97 106 // SQL injection hack protection
Note:
See TracChangeset
for help on using the changeset viewer.