summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-09-24 14:50:30 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-09-24 14:50:30 -0700
commit59c1c36639af36b3b9ec99664402f9501c290a40 (patch)
treeadd07cd42ad81548606b27bb8fde261dcb3dc613
parent8e16cee2c3b7df19354af366f212ce52a2a7b5c8 (diff)
Hopefully the last 2 errant occurrences of default as it relates to theme names
-rw-r--r--modules/gallery/libraries/Admin_View.php2
-rw-r--r--modules/gallery/libraries/Theme_View.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/libraries/Admin_View.php b/modules/gallery/libraries/Admin_View.php
index 21b70df6..a516a1ae 100644
--- a/modules/gallery/libraries/Admin_View.php
+++ b/modules/gallery/libraries/Admin_View.php
@@ -29,7 +29,7 @@ class Admin_View_Core extends Gallery_View {
public function __construct($name) {
$theme_name = module::get_var("gallery", "active_site_theme");
if (!file_exists("themes/$theme_name")) {
- module::set_var("gallery", "active_site_theme", "admin_default");
+ module::set_var("gallery", "active_site_theme", "admin_wind");
theme::load_themes();
Kohana::log("error", "Unable to locate theme '$theme_name', switching to default theme.");
}
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php
index 130e2dce..01d6a61b 100644
--- a/modules/gallery/libraries/Theme_View.php
+++ b/modules/gallery/libraries/Theme_View.php
@@ -30,7 +30,7 @@ class Theme_View_Core extends Gallery_View {
public function __construct($name, $page_type) {
$theme_name = module::get_var("gallery", "active_site_theme");
if (!file_exists("themes/$theme_name")) {
- module::set_var("gallery", "active_site_theme", "default");
+ module::set_var("gallery", "active_site_theme", "wind");
theme::load_themes();
Kohana::log("error", "Unable to locate theme '$theme_name', switching to default theme.");
}