make all themes have a Page class, to simplify loading

This commit is contained in:
Shish
2020-01-27 18:35:36 +00:00
parent 903679dc53
commit dba89e9d13
10 changed files with 15 additions and 12 deletions

View File

@ -38,7 +38,7 @@ require_all(zglob("ext/{".Extension::get_enabled_extensions_as_string()."}/main.
// load the theme parts
require_all(_get_themelet_files(get_theme()));
$page = class_exists("CustomPage") ? new CustomPage() : new Page();
$page = new Page();
// hook up event handlers
_load_event_listeners();