Project

General

Profile

Actions

Bug #5610

closed

Themes not applied for pkgs in subfolder of wwwroot

Added by BBcan177 . about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Web Interface
Target version:
Start date:
12/07/2015
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3
Affected Architecture:

Description

Only the default theme works for packages that use a subfolder of wwwroot (ie: /usr/local/www/pfblockerng).
None of the new themes (ie: Dark) are being applied to those subfolders.

Actions #1

Updated by Chris Buechler about 6 years ago

  • Subject changed from Themes for pkgs in subfolder of wwwroot to Themes not applied for pkgs in subfolder of wwwroot
  • Status changed from New to Confirmed
  • Affected Version set to 2.3
Actions #2

Updated by Steve Beaver about 6 years ago

  • Status changed from Confirmed to Feedback
  • Assignee set to Chris Buechler

Fixed by adding leading / to path

Actions #3

Updated by Steve Beaver about 6 years ago

  • % Done changed from 0 to 100
Actions #4

Updated by BBcan177 . about 6 years ago

Submitted fix did not resolve the issue. It works with the following change in head.inc on line 75 and adding the full path.

if (file_exists("/usr/local/www/bootstrap/css/" . $config['system']['webgui']['webguicss'])) {

Actions #5

Updated by BBcan177 . about 6 years ago

This can be closed now.

Actions #6

Updated by Steve Beaver almost 6 years ago

  • Status changed from Feedback to Closed

Fixed in head.inc and in system.php for testing.
php files copied to www/test and tested OK from there.

Actions

Also available in: Atom PDF