Force Froxlor - theme for WebFTP until opther themes are available, refs #819

Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
Florian Aders (EleRas)
2011-07-11 17:10:14 +02:00
parent 76fb0d2a20
commit 19a7e78ebe

View File

@@ -97,6 +97,7 @@ if ($db->connect_error)
}
$settings = array();
/*
// Let's get the theme we need
if ($result = $db->query("SELECT `value` FROM `panel_settings` WHERE `varname` = 'default_theme'"))
{
@@ -107,6 +108,9 @@ else
// Default will be Froxlor ;)
$settings['panel']['default_theme'] = 'Froxlor';
}
*/
# Until we have other themes: enforce the Froxlor - layout
$settings['panel']['default_theme'] = 'Froxlor';
# Initialize Smarty
include('./lib/classes/Smarty/Smarty.class.php');