mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-14 00:54:06 +02:00
#431 general structure changes
This commit is contained in:
@@ -25,4 +25,11 @@ class Themes
|
||||
$this->monstra = $c;
|
||||
}
|
||||
|
||||
public function getTemplate($template_name)
|
||||
{
|
||||
$template_ext = '.php';
|
||||
|
||||
include THEMES_PATH . '/' . $this->monstra['config']->get('site.theme') . '/' . $template_name . $template_ext;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user