示例#1
0
<?php

$db = Database::getInstance();
Command::captureUrl($_SERVER['HTTP_REFERER']);
$actionArray = $db->getActionByActionID($this->id());
$action = $actionArray[0];
$action->setDone($this->id);
header("Location: " . Command::retrieveUrl());
exit;