NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Question Panel Problems
Started by IDSDI

IDSDI

IDSDI

Member
Joined
01 Aug 2022
Last Seen
21 Feb 2024
Topics
1
Posts
1

Hey,
I installed a Panel Template the past days, but now i can't change it back to Default.
Could someone tell me how to change it without using the Panel and maybe with the files?

The Error is: invalid Token

https://prnt.sc/O8THwtzjzCxQ

IDSDI · about 1 year ago · Last edited: about 1 year ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
27 Apr 2024
Topics
41
Posts
1049

Hi,

To force the Default panel template, you can edit the file core/init.php and find the following code: https://github.com/NamelessMC/Nameless/blob/develop/core/init.php#L283-L287

Delete these lines, and add the following in the same place:

define('PANEL_TEMPLATE', 'Default');

This will allow you to get back into the staff panel.

x1
Samerton · about 1 year ago