mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
chore: 🧹 Code Cleanup
This commit is contained in:
5
front/php/templates/skinUI.php
Executable file → Normal file
5
front/php/templates/skinUI.php
Executable file → Normal file
@@ -12,10 +12,7 @@ if( isset($_COOKIE['UI_dark_mode']))
|
||||
$ENABLED_DARKMODE = False;
|
||||
}
|
||||
|
||||
foreach (glob("/app/db/setting_skin*") as $filename) {
|
||||
$pia_skin_selected = str_replace('setting_','',basename($filename));
|
||||
}
|
||||
if (isset($pia_skin_selected) == FALSE or (strlen($pia_skin_selected) == 0)) {$pia_skin_selected = 'skin-blue';}
|
||||
$pia_skin_selected = 'skin-blue';
|
||||
|
||||
// ###################################
|
||||
// ## GUI settings processing end
|
||||
|
||||
Reference in New Issue
Block a user