Changed variables.
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user