summaryrefslogtreecommitdiff
path: root/app/View.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2017-11-05 19:18:41 +0000
committerGreg Roach <fisharebest@gmail.com>2017-11-05 19:19:00 +0000
commit5c4e0741d1a96c6d1d19cb42e327e99a8eac671a (patch)
tree9e69e7c25704de07f20caab4840b3c19afacf910 /app/View.php
parent8d75cb09413e35f542072dd24a6b795b2f475805 (diff)
downloadwebtrees-5c4e0741d1a96c6d1d19cb42e327e99a8eac671a.tar.gz
webtrees-5c4e0741d1a96c6d1d19cb42e327e99a8eac671a.tar.bz2
webtrees-5c4e0741d1a96c6d1d19cb42e327e99a8eac671a.zip
Refactor setup wizard to use MVC and front-controller
Diffstat (limited to 'app/View.php')
-rw-r--r--app/View.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/View.php b/app/View.php
index 93cdb4c08c..8bde04d9c9 100644
--- a/app/View.php
+++ b/app/View.php
@@ -63,13 +63,13 @@ class View {
*/
public static function getFilenameForView($view_name) {
$view_file = $view_name . '.php';
- $theme_view = WT_THEMES_DIR . Theme::theme()->themeId() . '/resources/views/' . $view_file;
+ //$theme_view = WT_THEMES_DIR . Theme::theme()->themeId() . '/resources/views/' . $view_file;
- if (file_exists($theme_view)) {
- return $theme_view;
- } else {
+ //if (file_exists($theme_view)) {
+ // return $theme_view;
+ //} else {
return WT_ROOT . 'resources/views/' . $view_file;
- }
+ //}
}
/**