Ignore:
Timestamp:
Dec 21, 2014, 10:46:18 AM (10 years ago)
Author:
chronos
Message:
  • Upraveno: Soubory různých logických částí systému odděleny do aplikačních modulů.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore set to
      .buildpath
      .project
      .settings
  • trunk/www/Base/System.php

    r93 r95  
    55include_once(dirname(__FILE__).'/Table.php');
    66include_once(dirname(__FILE__).'/Error.php');
     7include_once(dirname(__FILE__).'/AppModule.php');
    78
    89$PrefixMultipliers = array
     
    117118    $this->Database = new Database($this->Config['Database']['Host'], $this->Config['Database']['User'], $this->Config['Database']['Password'], $this->Config['Database']['Database']);
    118119    $this->Database->Prefix = $this->Config['Database']['Prefix'];
    119     $this->Database->charset($this->Config['Database']['Charset']);   
     120    $this->Database->charset($this->Config['Database']['Charset']);
     121
     122    $this->ModuleManager = new AppModuleManager($this);
    120123  }
    121124 
     
    126129
    127130    $ControllerName = $Module.'Controller';
    128     $FileName = dirname(__FILE__).'/../Application/Controller/'.$Module.'.php';
     131    $FileName = dirname(__FILE__).'/../Module/'.$Module.'/Controller.php';
    129132    if(!file_exists($FileName))
    130133      echo('Soubor '.$FileName.' nenalezen.');
Note: See TracChangeset for help on using the changeset viewer.