diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-10 14:57:40 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-10 14:57:40 +0000 |
commit | 06fce6847aa3c29b9e05ce4b82d2b0272033ef74 (patch) | |
tree | 5851aa0cceb8290f3d44bed8c4488772341c6063 | |
parent | 5db7ae26689669479b327cd69b5c72ada3d819b9 (diff) | |
download | elgg-06fce6847aa3c29b9e05ce4b82d2b0272033ef74.tar.gz elgg-06fce6847aa3c29b9e05ce4b82d2b0272033ef74.tar.bz2 |
Languages are now loaded before the main engine starts.
git-svn-id: https://code.elgg.org/elgg/trunk@849 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/start.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/start.php b/engine/start.php index 214ed725b..3424c54de 100644 --- a/engine/start.php +++ b/engine/start.php @@ -33,6 +33,10 @@ throw new InstallationException("Error in installation: could not load the Export library.");
}
+ if (!@include_once(dirname(__FILE__) . "/lib/languages.php")) { // Main Elgg library
+ throw new InstallationException("Elgg could not load its main library.");
+ }
+
/**
* Set light mode default
*/
@@ -86,7 +90,7 @@ '.','..',
'.svn',
'CVS','cvs',
- 'settings.php','settings.example.php','exceptions.php','elgglib.php','database.php','actions.php','sessions.php'
+ 'settings.php','settings.example.php','languages.php','exceptions.php','elgglib.php','database.php','actions.php','sessions.php'
);
// Get the list of files to include, and alphabetically sort them
|