Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-06-20 23:54:21 +0400
committerJakob Sack <kde@jakobsack.de>2011-06-20 23:54:21 +0400
commit61993419ecc16a7aa7046186e29e1dc92cf71cb7 (patch)
treec0f74dde9089ce9d4b4ce622f639ac36bcffbc6f /lib/l10n.php
parent557b5b4b472aafeb9a3ac0942e9259640ddd3d1f (diff)
New i18n-structure
Diffstat (limited to 'lib/l10n.php')
-rw-r--r--lib/l10n.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/l10n.php b/lib/l10n.php
index 729310825dd..ff0238241a6 100644
--- a/lib/l10n.php
+++ b/lib/l10n.php
@@ -81,9 +81,9 @@ class OC_L10N{
}
}
- if( file_exists( $SERVERROOT.'/l10n/l10n-'.$lang.'.php' )){
+ if( file_exists( $SERVERROOT.'/core/l10n/l10n-'.$lang.'.php' )){
// Include the file, save the data from $CONFIG
- include( $SERVERROOT.'/l10n/l10n-'.$lang.'.php' );
+ include( $SERVERROOT.'/core/l10n/l10n-'.$lang.'.php' );
if( isset( $LOCALIZATIONS ) && is_array( $LOCALIZATIONS )){
$this->localizations = array_merge( $this->localizations, $LOCALIZATIONS );
}
@@ -231,8 +231,8 @@ class OC_L10N{
global $SERVERROOT;
// find the i18n dir
- $i18ndir = $SERVERROOT.'/l10n/';
- if( $app != 'core' && $app != '' ){
+ $i18ndir = $SERVERROOT.'/core/l10n/';
+ if( $app != '' ){
// Check if the app is in the app folder
if( file_exists( $SERVERROOT.'/apps/'.$app.'/l10n/' )){
$i18ndir = $SERVERROOT.'/apps/'.$app.'/l10n/';