summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-12-07 22:16:53 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-12-07 22:16:53 -0500
commit7a2cec8fdd6c06fb37da499baa2fc670e5cba1e5 (patch)
treef8ed2bb25e3351f953d8e304197036e9cc60391f /src
parent1a3300af020e22e4e39004c75498daabab58628c (diff)
downloadpfsense-7a2cec8fdd6c06fb37da499baa2fc670e5cba1e5.zip
pfsense-7a2cec8fdd6c06fb37da499baa2fc670e5cba1e5.tar.gz
Fix css path
Diffstat (limited to 'src')
-rwxr-xr-xsrc/usr/local/www/head.inc2
-rw-r--r--src/usr/local/www/system.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index fbcd69b..25fc08b 100755
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -72,7 +72,7 @@ if (isset($config['system']['webgui']['pagenamefirst'])) {
$cssfile = "/bootstrap/css/pfSense.css";
if (isset($config['system']['webgui']['webguicss'])) {
- if(file_exists("/bootstrap/css/" . $config['system']['webgui']['webguicss'])) {
+ if (file_exists("/usr/local/www/bootstrap/css/" . $config['system']['webgui']['webguicss'])) {
$cssfile = "/bootstrap/css/" . $config['system']['webgui']['webguicss'];
}
}
diff --git a/src/usr/local/www/system.php b/src/usr/local/www/system.php
index e2fcd72..175fd6d 100644
--- a/src/usr/local/www/system.php
+++ b/src/usr/local/www/system.php
@@ -466,7 +466,7 @@ $section->addInput(new Form_Select(
$form->add($section);
$csslist = array();
-$css = glob("bootstrap/css/*.css");
+$css = glob("/usr/local/www/bootstrap/css/*.css");
foreach ($css as $file) {
$file = basename($file);
if(substr($file, 0, 9) !== 'bootstrap') {
OpenPOWER on IntegriCloud