Archived
1
0
Fork 0

make theme and javascript paths configurable (fixes #49)

This commit is contained in:
Jan Dittberner 2009-07-11 20:48:25 +00:00
parent 631ec74b2b
commit 8f40d4554a
4 changed files with 12 additions and 9 deletions

View file

@ -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);
}
/**