diff options
Diffstat (limited to 'mod/admin.php')
-rw-r--r-- | mod/admin.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/admin.php b/mod/admin.php index c8ed7a53b..44010efda 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -46,8 +46,8 @@ function admin_post(&$a){ break; case 'themes': $theme = $a->argv[2]; - if (is_file("view/theme/$theme/config.php")){ - require_once("view/theme/$theme/config.php"); + if (is_file("view/theme/$theme/php/config.php")){ + require_once("view/theme/$theme/php/config.php"); if (function_exists("theme_admin_post")){ theme_admin_post($a); } @@ -937,8 +937,8 @@ function admin_page_themes(&$a){ } $admin_form=""; - if (is_file("view/theme/$theme/config.php")){ - require_once("view/theme/$theme/config.php"); + if (is_file("view/theme/$theme/php/config.php")){ + require_once("view/theme/$theme/php/config.php"); if(function_exists("theme_admin")){ $admin_form = theme_admin($a); } |