Revision 99.security.php - Admin folder rename
Add variable in bl-kernel/boot/init.php that allows User to rename bl-kernel/admin folder. User can then define variable in bl-kernel/boot/init.php and change the foldername itself to effect the rename. 99.security.php Line 31 - Replace Admin string with folder variable: Redirect::page('admin', 'login'); Replace with Redirect::page($adminfolder, 'login');
This commit is contained in:
parent
84a1236419
commit
890c10ed39
@ -28,7 +28,7 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' )
|
|||||||
Session::destroy();
|
Session::destroy();
|
||||||
|
|
||||||
// Redirect to login panel.
|
// Redirect to login panel.
|
||||||
Redirect::page('admin', 'login');
|
Redirect::page($adminfolder, 'login');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user