Changeset 840 for trunk/admin
- Timestamp:
- Jan 10, 2016, 12:08:23 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/install.php
r838 r840 1 1 <?php 2 2 3 include_once(dirname(__FILE__).'/../includes/Database.php'); 4 include_once(dirname(__FILE__).'/../includes/AppModule.php'); 5 include_once(dirname(__FILE__).'/../includes/Base.php'); 3 include_once(dirname(__FILE__).'/../Packages/Common/Common.php'); 6 4 include_once(dirname(__FILE__).'/../includes/global.php'); 7 5 include_once(dirname(__FILE__).'/../includes/system.php'); … … 13 11 include_once(dirname(__FILE__).'/../includes/Version.php'); 14 12 include_once(dirname(__FILE__).'/../includes/Locale.php'); 15 $Locale = new LocaleManager();16 $Locale->Dir = dirname(__FILE__).'/../locale';17 $Locale->LoadLocale('en');18 13 19 14 function ControlPanel() … … 176 171 $System = new Core(); 177 172 $System->Init(); 173 $Locale = new LocaleManager($System); 174 $Locale->Dir = dirname(__FILE__).'/../locale'; 175 $Locale->LoadLocale('en'); 178 176 $UpdateManager = new UpdateManager(); 179 177 $UpdateManager->Database = $System->Database;
Note:
See TracChangeset
for help on using the changeset viewer.