芝麻web文件管理V1.00
编辑当前文件:/home/prismawe/www/resupres/application/classes/controller/admin/auth.php
redirect('admin/auth/authentification'); } public function action_login(){ if ($this->request->post('password') == 'stage'){ $_SESSION['logged'] = true; $this->request->redirect('admin/duels'); } else $this->request->redirect('admin/auth/authentification'); } public function action_authentification(){ $this->template = View::factory('admin/auth/formulaire'); } }