Changeset 573 for trunk


Ignore:
Timestamp:
Aug 27, 2013, 10:58:24 PM (11 years ago)
Author:
chronos
Message:
  • Added: Wiki page support for storing textual pages.
Location:
trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/Export.php

    r571 r573  
    11<?php
    22
    3 class Export extends Module
     3class Export extends Model
    44{
    55  var $Id;
  • trunk/includes/Version.php

    r572 r573  
    11<?php
    22
    3 $Revision = 572; // Subversion revision
     3$Revision = 573; // Subversion revision
    44$DatabaseRevision = 567; // Database structure revision
    5 $ReleaseTime = '2013-08-26';
     5$ReleaseTime = '2013-08-27';
  • trunk/includes/global.php

    r572 r573  
    22
    33include_once(dirname(__FILE__).'/Database.php');
     4include_once(dirname(__FILE__).'/Base.php');
    45include_once(dirname(__FILE__).'/system.php');
    56include_once(dirname(__FILE__).'/Update.php');
     
    2728include_once(dirname(__FILE__).'/../Modules/ShoutBox/ShoutBox.php');
    2829include_once(dirname(__FILE__).'/../Modules/News/News.php');
     30include_once(dirname(__FILE__).'/../Modules/Wiki/Wiki.php');
    2931include_once(dirname(__FILE__).'/../Modules/FrontPage/FrontPage.php');
    3032
     
    8385  $System->ModuleManager->RegisterModule(new ModuleShoutBox($System));
    8486  $System->ModuleManager->RegisterModule(new ModuleNews($System));
     87  $System->ModuleManager->RegisterModule(new ModuleWiki($System));
    8588  $System->ModuleManager->RegisterModule(new ModuleFrontPage($System));
    8689  $System->ModuleManager->StartAll(); 
  • trunk/includes/system.php

    r561 r573  
    22
    33include_once('Database.php');
    4 
    5 class Module
    6 {
    7   var $Database;
    8   var $Config;
    9   var $System;
    10  
    11   function __construct($System)
    12   {
    13     $this->Database = &$System->Database;
    14     $this->Config = &$System->Config;
    15     $this->System = &$System;
    16   }
    17 }
    184
    195class System
     
    116102  function RegisterPage($Path, $Handler)
    117103  {
    118     if(is_array($Path))
     104        if(is_array($Path))
    119105    {
    120106      $Page = &$this->Pages;
Note: See TracChangeset for help on using the changeset viewer.