コード例 #1
0
ファイル: FormController.php プロジェクト: sov-20-07/billing
 function __construct()
 {
     DB::escapePost();
     DB::escapeGet();
     $model = new Form();
     $model->send();
     if ($_POST['redirect']) {
         $_POST['redirect'] = $_POST['redirect'] . '/';
     }
     $this->redirect($_SERVER['HTTP_REFERER'] . $_POST['redirect']);
 }