diff options
| author | Greg Roach <fisharebest@gmail.com> | 2017-11-05 19:18:41 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2017-11-05 19:19:00 +0000 |
| commit | 5c4e0741d1a96c6d1d19cb42e327e99a8eac671a (patch) | |
| tree | 9e69e7c25704de07f20caab4840b3c19afacf910 /app/View.php | |
| parent | 8d75cb09413e35f542072dd24a6b795b2f475805 (diff) | |
| download | webtrees-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.php | 10 |
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; - } + //} } /** |
