set_module_dir(), set_object_dir(), set_theme_dir() now include trailing slashes as expected
- Core now specifies $this->page_prefix - Used to prefix all page URLs e.g. CMS would be /admin/xxxxxx with '/admin/' being the page_prefix - Default is '/' aka. no prefix
- instantiation of pages within core is now done using di->add() rather than magic methods for efficiency
- load_theme() split and most of the logic is now handled within the theme class
- get_url_parts() changed to be public so the CMS can extend it
- di->theme_class referenced updated to di->theme following refactor
- get_html_footer() now only outputs footer JS is there is any
- Theme now stores $this->base_theme_path - used caching set my new method get_theme();
- added theme->get_theme()
- added theme->get_fallback_theme() - Designed to get the first theme found within $this->base_theme_path that's not the '_global' dir
- set_resources() refactored to being in all JS files from _global by default
page->get_url() now uses the new core->page_prefix() var - Added for the CMS to use
'_' added to the start of the filename as a temp fix to ensure it's loaded first from the glob()
Updated $this->di->theme_class references to $this->di->theme following refactor
Removed global_js array from settings.ini file as they're now all loaded in by default - Just needs an ability to set the loading order/dependencies on other JS files