Ignore:
Timestamp:
Dec 7, 2021, 11:08:42 PM (3 years ago)
Author:
chronos
Message:
  • Added: Allow to switch Mail class into test mode.
  • Modified: Type checking related changes.
  • Modified: Replace global $Config references with $this->System->Config is possible.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Contract/Contract.php

    r912 r916  
    2121  function DoStart(): void
    2222  {
    23     global $Config;
    24 
    25     $this->DirectoryId = $Config['Contract']['DirectoryId'];
     23    $this->DirectoryId = $this->System->Config['Contract']['DirectoryId'];
    2624    $this->System->RegisterPage(['smlouvy', 'generovat'], 'PageContractGenerate');
    2725    $this->System->FormManager->RegisterClass('Contract', array(
Note: See TracChangeset for help on using the changeset viewer.