mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
splitted language files
git-svn-id: file:///svn/phpbb/trunk@4844 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -27,6 +27,8 @@ $phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||
require('pagestart.' . $phpEx);
|
||||
include($phpbb_root_path . 'includes/functions_posting.' . $phpEx);
|
||||
|
||||
$user->add_lang(array('posting', 'viewtopic'));
|
||||
|
||||
if (!$auth->acl_get('a_attach'))
|
||||
{
|
||||
trigger_error($user->lang['NO_ADMIN']);
|
||||
|
@@ -31,6 +31,8 @@ require('pagestart.' . $phpEx);
|
||||
include($phpbb_root_path.'includes/functions_user.'.$phpEx);
|
||||
include($phpbb_root_path.'includes/functions_profile_fields.'.$phpEx);
|
||||
|
||||
$user->add_lang(array('posting', 'ucp', 'gcp'));
|
||||
|
||||
//
|
||||
// Get and set basic vars
|
||||
//
|
||||
|
@@ -31,7 +31,7 @@ require($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
|
||||
|
||||
// Start session management
|
||||
$user->start();
|
||||
$user->setup();
|
||||
$user->setup('admin');
|
||||
|
||||
// Did user forget to login? Give 'em a chance to here ...
|
||||
if ($user->data['user_id'] == ANONYMOUS)
|
||||
|
Reference in New Issue
Block a user