13 lines
298 B
PHP
13 lines
298 B
PHP
<?php
|
|
$data = array_merge($data, [
|
|
'title' => 'Novaconium Dashboard Page',
|
|
'pageclass' => 'novaconium'
|
|
]);
|
|
|
|
if ( empty($session->get('username'))) {
|
|
$redirect->url('/novaconium/login');
|
|
$messages->error('You are not loggedin');
|
|
makeitso();
|
|
}
|
|
|
|
view('@novacore/dashboard', $data); |