- Timestamp:
- Dec 21, 2014, 10:46:18 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 22 added
- 6 edited
- 42 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:ignore
set to
.buildpath
.project
.settings
-
Property svn:ignore
set to
-
trunk/www/Application/Application.php
r93 r95 1 1 <?php 2 2 3 include_once(dirname(__FILE__).'/../ Application/Model/Log.php');4 include_once(dirname(__FILE__).'/../ Application/Model/Permission.php');5 include_once(dirname(__FILE__).'/../ Application/Model/User.php');3 include_once(dirname(__FILE__).'/../Module/Log/Model.php'); 4 include_once(dirname(__FILE__).'/../Module/Permission/Model.php'); 5 include_once(dirname(__FILE__).'/../Module/User/Model.php'); 6 6 include_once(dirname(__FILE__).'/../Base/System.php'); 7 include_once(dirname(__FILE__).'/../Version.php'); 7 8 8 9 class Application extends System … … 30 31 else $this->Modules['User']->Data['Id'] = $this->Config['Web']['UserConsoleId']; 31 32 $this->Modules['Permission']->LoadForUser($this->Modules['User']->Data['Id']); 32 //print_r($System->Modules['Permission']->Data);33 34 33 } 35 34 } 36 37 $Application = new Application();38 $Application->Run(); -
trunk/www/Application/View/Page.php
r93 r95 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/View.php'); 4 include_once(dirname(__FILE__).'/ News.php');4 include_once(dirname(__FILE__).'/../../Module/News/View.php'); 5 5 6 6 class PageView extends View -
trunk/www/Base/System.php
r93 r95 5 5 include_once(dirname(__FILE__).'/Table.php'); 6 6 include_once(dirname(__FILE__).'/Error.php'); 7 include_once(dirname(__FILE__).'/AppModule.php'); 7 8 8 9 $PrefixMultipliers = array … … 117 118 $this->Database = new Database($this->Config['Database']['Host'], $this->Config['Database']['User'], $this->Config['Database']['Password'], $this->Config['Database']['Database']); 118 119 $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); 120 123 } 121 124 … … 126 129 127 130 $ControllerName = $Module.'Controller'; 128 $FileName = dirname(__FILE__).'/../ Application/Controller/'.$Module.'.php';131 $FileName = dirname(__FILE__).'/../Module/'.$Module.'/Controller.php'; 129 132 if(!file_exists($FileName)) 130 133 echo('Soubor '.$FileName.' nenalezen.'); -
trunk/www/Include.php
r93 r95 1 1 <?php 2 3 2 4 3 include('Base/Include.php'); -
trunk/www/Module/Client/Controller.php
r94 r95 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../ View/Page.php');5 include_once(dirname(__FILE__).'/ ../View/Client.php');4 include_once(dirname(__FILE__).'/../../Application/View/Page.php'); 5 include_once(dirname(__FILE__).'/View.php'); 6 6 7 7 class ClientController extends Controller -
trunk/www/Module/Cluster/Controller.php
r94 r95 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../ View/Page.php');5 include_once(dirname(__FILE__).'/ ../View/Cluster.php');4 include_once(dirname(__FILE__).'/../../Application/View/Page.php'); 5 include_once(dirname(__FILE__).'/View.php'); 6 6 7 7 class ClusterController extends Controller -
trunk/www/Module/Debug/Controller.php
r94 r95 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../ View/Page.php');5 include_once(dirname(__FILE__).'/ ../View/Debug.php');4 include_once(dirname(__FILE__).'/../../Application/View/Page.php'); 5 include_once(dirname(__FILE__).'/View.php'); 6 6 7 7 class DebugController extends Controller -
trunk/www/Module/Emulator/Controller.php
r94 r95 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../ View/Page.php');5 include_once(dirname(__FILE__).'/ ../View/Emulator.php');4 include_once(dirname(__FILE__).'/../../Application/View/Page.php'); 5 include_once(dirname(__FILE__).'/View.php'); 6 6 7 7 class EmulatorController extends Controller -
trunk/www/Module/HomePage/Controller.php
r94 r95 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../ View/Page.php');5 include_once(dirname(__FILE__).'/ ../View/HomePage.php');4 include_once(dirname(__FILE__).'/../../Application/View/Page.php'); 5 include_once(dirname(__FILE__).'/View.php'); 6 6 7 7 class HomePageController extends Controller -
trunk/www/Module/HomePage/View.php
r94 r95 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/View.php'); 4 include_once(dirname(__FILE__).'/../ Model/Platform.php');4 include_once(dirname(__FILE__).'/../Platform/Model.php'); 5 5 6 6 class HomePageView extends View -
trunk/www/Module/News/Controller.php
r94 r95 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../ View/Page.php');5 include_once(dirname(__FILE__).'/ ../View/News.php');4 include_once(dirname(__FILE__).'/../../Application/View/Page.php'); 5 include_once(dirname(__FILE__).'/View.php'); 6 6 7 7 class NewsController extends Controller -
trunk/www/Module/Realm/Controller.php
r94 r95 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../ View/Page.php');5 include_once(dirname(__FILE__).'/ ../View/Realm.php');4 include_once(dirname(__FILE__).'/../../Application/View/Page.php'); 5 include_once(dirname(__FILE__).'/View.php'); 6 6 7 7 class RealmController extends Controller -
trunk/www/Module/Server/Controller.php
r94 r95 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../ View/Page.php');5 include_once(dirname(__FILE__).'/ ../View/Server.php');4 include_once(dirname(__FILE__).'/../../Application/View/Page.php'); 5 include_once(dirname(__FILE__).'/View.php'); 6 6 7 7 class ServerController extends Controller -
trunk/www/Module/Task/Controller.php
r94 r95 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../ View/Page.php');5 include_once(dirname(__FILE__).'/ ../View/Task.php');4 include_once(dirname(__FILE__).'/../../Application/View/Page.php'); 5 include_once(dirname(__FILE__).'/View.php'); 6 6 7 7 class TaskController extends Controller -
trunk/www/Module/Update/Controller.php
r94 r95 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../ View/Page.php');5 include_once(dirname(__FILE__).'/ ../View/Update.php');4 include_once(dirname(__FILE__).'/../../Application/View/Page.php'); 5 include_once(dirname(__FILE__).'/View.php'); 6 6 7 7 class UpdateController extends Controller -
trunk/www/Module/User/Controller.php
r94 r95 2 2 3 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../ View/Page.php');5 include_once(dirname(__FILE__).'/ ../View/User.php');4 include_once(dirname(__FILE__).'/../../Application/View/Page.php'); 5 include_once(dirname(__FILE__).'/View.php'); 6 6 7 7 class UserController extends Controller -
trunk/www/Module/User/Model.php
r94 r95 3 3 include_once(dirname(__FILE__).'/../../Base/Model.php'); 4 4 include_once(dirname(__FILE__).'/../../Base/Mail.php'); 5 include_once(dirname(__FILE__).'/ Log.php');5 include_once(dirname(__FILE__).'/../Log/Model.php'); 6 6 7 7 class User extends Model -
trunk/www/index.php
r93 r95 2 2 3 3 include_once(dirname(__FILE__).'/Application/Application.php'); 4 5 $Application = new Application(); 6 $Application->Run();
Note:
See TracChangeset
for help on using the changeset viewer.