summaryrefslogtreecommitdiff
path: root/src/_model.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-02-23 22:54:58 -0500
committerFreya Murphy <freya@freyacat.org>2026-02-23 22:54:58 -0500
commit9785d11c54535ac897755a2603f67ce209abc2ca (patch)
treea74838ebfede53f19f6c131c23c4298be0342ad8 /src/_model.php
parentupdate alpine version (diff)
downloadcrimson-9785d11c54535ac897755a2603f67ce209abc2ca.tar.gz
crimson-9785d11c54535ac897755a2603f67ce209abc2ca.tar.bz2
crimson-9785d11c54535ac897755a2603f67ce209abc2ca.zip
make base fns static, other minor fixes
Diffstat (limited to '')
-rw-r--r--src/_model.php2
1 files changed, 1 insertions, 1 deletions
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([