Changed variables.

This commit is contained in:
2026-07-04 07:43:33 -07:00
parent 7ee47a0b1e
commit 4484f88d8d
21 changed files with 197 additions and 197 deletions
+5 -5
View File
@@ -1,14 +1,14 @@
<?php
$data = array_merge($data, [
$ctx->withData([
'title' => 'Novaconium Dashboard Page',
'pageclass' => 'novaconium',
'pageid' => 'controlPanel'
]);
if ( empty($session->get('username'))) {
$redirect->url('/novaconium/login');
$messages->error('You are not loggedin');
if ( empty($ctx->session->get('username'))) {
$ctx->redirect->url('/novaconium/login');
$ctx->messages->error('You are not loggedin');
makeitso();
}
view('@novacore/dashboard', $data);
view('@novacore/dashboard', $ctx->data);