Jump to content
Froxlor Forum
  • 0

[merged] Patch to disallow changing theme


Shortie

Question

In the settings for the panel you will find two checkboxes to allow / disallow changing themes.

For simplicity I decided to make this feature globally and not depending on admin or customer level.


Patching a running Froxlor requires adding the following two values to the database:
 
table: panel_settings

 

settinggroup     varname                                        value

 

panel                allow_theme_change_customer    1

panel                allow_theme_change_admin         1

 

Patch against 0.9.28-rc1:



dis-allow_change_theme.patch

Patch fixed (update script)

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Super sache, w?rdest du das im Bugtracker hinterlegen, bzw. einen Pull-request auf Github anlegen? Und es fehlt leider das Aktualisieren der Datenbank im Update-Script, sonst gilt f?r Updater immer nur der default-wert und sie k?nnen ihn nicht ?ndern, da es den Eintrag in der Tabelle nicht gibt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...