Пример #1
0
 public function Execute(Template $template, Session $session, $request)
 {
     if ($session['user'] instanceof Member && $session['user']['perms'] & ADMIN) {
         $css = new CSS();
         if ($css->Revert(intval($request['id']))) {
             header("Location: admin.php?act=css");
         }
     }
     return TRUE;
 }