Changeset 840


Ignore:
Timestamp:
Jan 10, 2016, 12:08:23 AM (8 years ago)
Author:
chronos
Message:
  • Fixed: Initial installation was not functional.
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/install.php

    r838 r840  
    11<?php
    22
    3 include_once(dirname(__FILE__).'/../includes/Database.php');
    4 include_once(dirname(__FILE__).'/../includes/AppModule.php');
    5 include_once(dirname(__FILE__).'/../includes/Base.php');
     3include_once(dirname(__FILE__).'/../Packages/Common/Common.php');
    64include_once(dirname(__FILE__).'/../includes/global.php');
    75include_once(dirname(__FILE__).'/../includes/system.php');
     
    1311include_once(dirname(__FILE__).'/../includes/Version.php');
    1412include_once(dirname(__FILE__).'/../includes/Locale.php');
    15 $Locale = new LocaleManager();
    16 $Locale->Dir = dirname(__FILE__).'/../locale';
    17 $Locale->LoadLocale('en');
    1813
    1914function ControlPanel()
     
    176171  $System = new Core();
    177172  $System->Init();
     173  $Locale = new LocaleManager($System);
     174  $Locale->Dir = dirname(__FILE__).'/../locale';
     175  $Locale->LoadLocale('en');
    178176  $UpdateManager = new UpdateManager();
    179177  $UpdateManager->Database = $System->Database;
  • trunk/includes/Locale.php

    r816 r840  
    3131  var $Dir;
    3232
    33   function __construct($System)
     33  function __construct(System $System)
    3434  {
    3535    parent::__construct($System);
     
    163163  var $Dir;
    164164
    165   function __construct($System)
     165  function __construct(System $System)
    166166  {
    167167    parent::__construct($System);
  • trunk/includes/Version.php

    r839 r840  
    66// and system will need database update.
    77
    8 $Revision = 839; // Subversion revision
     8$Revision = 840; // Subversion revision
    99$DatabaseRevision = 811; // Database structure revision
    1010$ReleaseTime = '2016-01-11';
Note: See TracChangeset for help on using the changeset viewer.