Changeset 840 for trunk/admin


Ignore:
Timestamp:
Jan 10, 2016, 12:08:23 AM (9 years ago)
Author:
chronos
Message:
  • Fixed: Initial installation was not functional.
File:
1 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;
Note: See TracChangeset for help on using the changeset viewer.