xaboy 6 年 前
コミット
7000cbab8f
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/Form.php

+ 2 - 2
src/Form.php

@@ -462,7 +462,7 @@ class Form
     {
         ob_start();
         $form = $this;
-        require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'view' . DIRECTORY_SEPARATOR . 'form.php';
+        require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'view' . DIRECTORY_SEPARATOR . 'form.php';
         $html = ob_get_clean();
         return $html;
     }
@@ -486,7 +486,7 @@ class Form
     {
         ob_start();
         $form = $this;
-        require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'view' . DIRECTORY_SEPARATOR . 'formScript.php';
+        require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'view' . DIRECTORY_SEPARATOR . 'formScript.php';
         $script = ob_get_clean();
         return $script;