summaryrefslogtreecommitdiff
path: root/inc/functions.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-06-07 18:52:40 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-06-07 18:52:40 +1000
commitcec63231cfbe134cd917a8c3be4b0c8f7af1d072 (patch)
tree41f4f8d47b62a26fbde84bde34e315d75c3d2ca0 /inc/functions.php
parent517167ea6f72ad7ed060e0531dec341aac3d78f9 (diff)
theme install functions
Diffstat (limited to 'inc/functions.php')
-rw-r--r--inc/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 275c27d5..be3747d4 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -155,7 +155,7 @@
global $config, $_theme;
$_theme = $theme;
- $theme = loadThemeConfig($_theme, $action);
+ $theme = loadThemeConfig($_theme);
if(file_exists($config['dir']['themes'] . '/' . $_theme . '/theme.php')) {
require_once $config['dir']['themes'] . '/' . $_theme . '/theme.php';
@@ -169,7 +169,7 @@
// List themes
$query = query("SELECT `theme` FROM `theme_settings` WHERE `name` IS NULL AND `value` IS NULL") or error(db_error());
while($theme = $query->fetch()) {
- rebuildTheme($theme['theme']);
+ rebuildTheme($theme['theme'], $action);
}
}