Ignore:
Timestamp:
Jan 6, 2016, 11:01:30 PM (9 years ago)
Author:
chronos
Message:
  • Moved: Application, Base and AppModule to Common Package.
  • Modified: Main application class renamed to Core.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/System.php

    r747 r779  
    44if(file_exists($ConfigFileName)) include_once($ConfigFileName);
    55
    6 include_once(dirname(__FILE__).'/../Common/Application.php');
    76include_once(dirname(__FILE__).'/Version.php');
    87include_once(dirname(__FILE__).'/../Common/Global.php');
    98include_once(dirname(__FILE__).'/FormClasses.php');
    109
    11 class System extends Application
     10class Core extends Application
    1211{
    13   /** @var Database */
    14   var $Database;
    15   var $Modules;
    1612  /** @var Type */
    1713  var $Type;
    1814  var $Pages;
    1915  var $Bars;
    20   /** @var AppModuleManager */
    21   var $ModuleManager;
    2216  /** @var FormManager */
    2317  var $FormManager;
     
    3226  function __construct()
    3327  {
     28    parent::__construct();
    3429    $this->Modules = array();
    3530    $this->Pages = array();
    36     $this->ModuleManager = new AppModuleManager($this);
    3731    $this->ModuleManager->FileName = dirname(__FILE__).'/../Config/ModulesConfig.php';
    38     $this->Database = new Database();
    3932    $this->FormManager = new FormManager($this->Database);
    4033    $this->ShowPage = true;
Note: See TracChangeset for help on using the changeset viewer.