mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
445 B
19 lines
445 B
<?php
|
|
|
|
class AdminController extends BaseController {
|
|
function load() {
|
|
$this->session_only = false;
|
|
}
|
|
|
|
function dispatch() {
|
|
session_start();
|
|
|
|
if(isset($_SESSION['admin']) && $_SESSION['admin'] == true) {
|
|
$this->page->setTitle(__('title.administration', APP_TITLE));
|
|
} else {
|
|
$this->name = 'adminlogin';
|
|
}
|
|
|
|
//session_write_close();
|
|
}
|
|
}
|