make theme and javascript paths configurable (fixes #49)
This commit is contained in:
parent
631ec74b2b
commit
8f40d4554a
4 changed files with 12 additions and 9 deletions
|
@ -50,9 +50,9 @@ require_once('theme.class.php');
|
|||
|
||||
if (array_key_exists('theme', $_GET) &&
|
||||
preg_match('/^[a-zA-Z0-9_-]+$/', $_GET['theme'])) {
|
||||
$theme = new Theme($_GET['theme']);
|
||||
$theme = new Theme($_GET['theme'], $configuration);
|
||||
} else {
|
||||
$theme = new Theme($configuration['defaulttheme']);
|
||||
$theme = new Theme($configuration['defaulttheme'], $configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue