added preferences to base.php, will be needed for i18n stuff

This commit is contained in:
Jakob Sack 2011-06-19 14:24:26 +02:00
parent 14dddc0c9e
commit 6a19a7d226
2 changed files with 3 additions and 2 deletions

View File

@ -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');

View File

@ -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' ));