Change Admin Directory
Posted: 12 Mar 2012, 12:30
Change Admin Directory
Written by Stoker
Credits to imkingdavid
You can easily change your admin directory with a few steps.
Default the phpbb admin directory is: http://www.domain.com/adm/index.php
Step 1
Open includes/functions.php
Find:
Replace with:
Step 2
Open memberlist.php
Find:
Replace with:
Step 3
Open your FTP program and login to your domain.
Change the adm folder
Rename the "adm" folder to new_name
Thats it
Written by Stoker
Credits to imkingdavid
You can easily change your admin directory with a few steps.
Default the phpbb admin directory is: http://www.domain.com/adm/index.php
Step 1
Open includes/functions.php
Find:
Code: Select all
'U_ACP' => ($auth->acl_get('a_') && !empty($user->data['is_registered'])) ? append_sid("{$phpbb_root_path}adm/index.$phpEx", false, true, $user->session_id) : '')
Code: Select all
'U_ACP' => ($auth->acl_get('a_') && !empty($user->data['is_registered'])) ? append_sid("{$phpbb_root_path}new_name/index.$phpEx", false, true, $user->session_id) : '')
Step 2
Open memberlist.php
Find:
Code: Select all
'U_USER_ADMIN' => ($auth->acl_get('a_user')) ? append_sid("{$phpbb_root_path}adm/index.$phpEx", 'i=users&mode=overview&u=' . $user_id, true, $user->session_id) : '',]
Code: Select all
'U_USER_ADMIN' => ($auth->acl_get('a_user')) ? append_sid("{$phpbb_root_path}new_name/index.$phpEx", 'i=users&mode=overview&u=' . $user_id, true, $user->session_id) : '',
Step 3
Open your FTP program and login to your domain.
Change the adm folder
Rename the "adm" folder to new_name
Thats it