From: Jakob Sack Date: Sun, 19 Jun 2011 12:24:26 +0000 (+0200) Subject: added preferences to base.php, will be needed for i18n stuff X-Git-Tag: v3.0~267^2~514 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6a19a7d22639f056ccb39d94f2358882ed875faf;p=nextcloud-server.git added preferences to base.php, will be needed for i18n stuff --- diff --git a/lib/base.php b/lib/base.php index 50c41dc0859..1baf5dc1679 100644 --- a/lib/base.php +++ b/lib/base.php @@ -80,6 +80,8 @@ require_once('appconfig.php'); require_once('files.php'); require_once('filesystem.php'); require_once('filestorage.php'); +require_once('l10n.php'); +require_once('preferences.php'); require_once('log.php'); require_once('user.php'); require_once('group.php'); diff --git a/log/index.php b/log/index.php index 56bbbadb99d..985ab60b52e 100644 --- a/log/index.php +++ b/log/index.php @@ -24,8 +24,7 @@ //require_once('../../config/config.php'); require_once('../lib/base.php'); -require( 'template.php' ); -require( 'preferences.php' ); +require_once( 'template.php' ); if( !OC_USER::isLoggedIn()){ header( 'Location: '.OC_HELPER::linkTo( 'index.php' ));