Commit 2d1a4d41 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) move get_current_theme

parent 717ecc9b
......@@ -1429,17 +1429,6 @@ function get_alias_list($type = null)
return $result;
}
function get_current_theme()
{
$theme = 'opnsense';
if (isset($config['theme']) && is_dir('/usr/local/www/themes/' . $config['theme'])) {
$theme = $config['theme'];
}
return $theme;
}
/* Define what is preferred, IPv4 or IPv6 */
function prefer_ipv4_or_ipv6() {
global $config;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment