Changeset 525 for trunk/Common/Page.php
- Timestamp:
- Apr 20, 2013, 11:47:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Page.php
r524 r525 13 13 var $FullTitle; 14 14 15 function __construct( )15 function __construct($System) 16 16 { 17 17 global $Config; 18 19 parent::__construct($System); 18 20 19 21 $this->FormatHTML = $Config['Web']['FormatHTML']; … … 46 48 { 47 49 $PageClass = $Page->ParentClass; 48 $Page = new $PageClass( );50 $Page = new $PageClass($this->System); 49 51 $ScriptName = substr($ScriptName, 0, strrpos($ScriptName, '/')); 50 52 } else $Page = null;
Note:
See TracChangeset
for help on using the changeset viewer.