From 9785d11c54535ac897755a2603f67ce209abc2ca Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 23 Feb 2026 22:54:58 -0500 Subject: make base fns static, other minor fixes --- src/_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/_model.php') diff --git a/src/_model.php b/src/_model.php index ce8dd82..ecd63df 100644 --- a/src/_model.php +++ b/src/_model.php @@ -44,7 +44,7 @@ abstract class Model extends Base { // sanity check assert(is_string($app)); } catch (Exception $_e) { - $app = CONTEXT['app']; + $app = ROUTER->req['app']; } $data['css'] = $this->flatten_array([ -- cgit v1.2.3-freya