Ignore:
Timestamp:
Jan 9, 2016, 11:10:49 AM (9 years ago)
Author:
chronos
Message:
  • Modified: Page class separated to basic Page class and to BaseView class which is project specific.
  • Fixed: RSS channel list was not displayed.
  • Modified: Database updates specific for project moved to Application directory.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/System.php

    r781 r782  
    77include_once(dirname(__FILE__).'/../Common/Global.php');
    88include_once(dirname(__FILE__).'/FormClasses.php');
     9include_once(dirname(__FILE__).'/FullInstall.php');
     10include_once(dirname(__FILE__).'/UpdateTrace.php');
     11include_once(dirname(__FILE__).'/View.php');
    912
    1013class Core extends Application
     
    8083  function ShowPage()
    8184  {
     85    $this->BaseView = new BaseView($this);
     86
    8287    /* @var $Page Page */
    8388    $ClassName = $this->SearchPage($this->PathItems, $this->Pages);
     
    8590    {
    8691      $Page = new $ClassName($this);
    87       $Page->GetOutput();
    8892    } else {
    8993      $Page = new PageMissing($this);
    90       $Page->GetOutput();
    91     }
     94    }
     95    echo($this->BaseView->GetOutput($Page));
    9296  }
    9397
     
    99103  function AddModule($Module)
    100104  {
    101     //echo('Přidávám modul '.get_class($Module).'<br />');
    102105    $this->Modules[get_class($Module)] = $Module;
    103106  }
Note: See TracChangeset for help on using the changeset viewer.