new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php namespace Project\Controllers;
|
||||
use Cookie, Session, Method;
|
||||
|
||||
class Home extends Controller{
|
||||
function main(){
|
||||
|
||||
if (method::post()) {$this->login_model->userControl(method::post());}
|
||||
|
||||
}
|
||||
|
||||
|
||||
function logout(){
|
||||
Session::deleteAll();
|
||||
redirect();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user