Changeset 860 for trunk/Modules/Error


Ignore:
Timestamp:
Jan 21, 2016, 2:49:19 PM (9 years ago)
Author:
chronos
Message:
  • Modified: Now application modules are started according configuration file.
  • Added: Each module which want to show something in main page bars needs to register its callback.
File:
1 edited

Legend:

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

    r838 r860  
    2323  function DoStart()
    2424  {
     25    if(isset($this->System->Config['Web']['ShowPHPError']))
     26      $this->ErrorHandler->ShowError = $this->System->Config['Web']['ShowPHPError'];
     27      else $this->ErrorHandler->ShowError = true;
    2528    $this->ErrorHandler->Start();
    2629  }
Note: See TracChangeset for help on using the changeset viewer.