Changeset 424 for branches/Modular/index.php
- Timestamp:
- Oct 10, 2012, 9:29:20 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Modular/index.php
r405 r424 2 2 3 3 include_once('Common/Global.php'); 4 /* @var $System System */ 5 $System = NULL; 4 6 GlobalInit(); 5 if(!$System->IsInstalled()) die('System not installed.');6 $System->Init();7 7 $System->PathItems = ProcessURL(); 8 8 //print_r($_GET); … … 16 16 $PageClass = $System->Pages[$Page]; 17 17 } else $PageClass = 'MissingPage'; 18 $PageObject = new $PageClass();18 $PageObject = Page::Cast(new $PageClass()); 19 19 $PageObject->Database = &$Database; 20 20 $PageObject->System = &$System;
Note:
See TracChangeset
for help on using the changeset viewer.