projects
/
core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Registry rewritten, exception added #2
[core.git]
/
inc
/
language.php
diff --git
a/inc/language.php
b/inc/language.php
index b4735458f3f7ee8a2eb337a5a2f37d619fcd9747..2ace277e98097dbc819decca32b3e108a33b3d2e 100644
(file)
--- a/
inc/language.php
+++ b/
inc/language.php
@@
-4,8
+4,10
@@
*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007
- 2009 Roland Haeder, this is free software
+ * @copyright Copyright (c) 2007
, 2008 Roland Haeder, 2009, 2010 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @license GNU GPL 3.0 or any newer version
+ * @deprecated
+ * @todo We should minimize these includes
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-23,8
+25,8
@@
// Try to instance the language system
$lang = LanguageSystem::createLanguageSystem(
// Try to instance the language system
$lang = LanguageSystem::createLanguageSystem(
- FrameworkConfiguration::getInstance()->
readConfig
('base_path').
- FrameworkConfiguration::getInstance()->
readConfig
('lang_base_path')
+ FrameworkConfiguration::getInstance()->
getConfigEntry
('base_path').
+ FrameworkConfiguration::getInstance()->
getConfigEntry
('lang_base_path')
);
// Is the app variable there and valid?
);
// Is the app variable there and valid?