From 902e38105dc49dcd14aeaaf9a6653acab0cd41c7 Mon Sep 17 00:00:00 2001 From: Jacek Tomasiak Date: Fri, 9 Oct 2015 14:34:45 +0200 Subject: [PATCH] switched from include to include_once to avoid problems with double loading of class definitions --- types.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/types.php b/types.php index 4356dc0..6c55647 100644 --- a/types.php +++ b/types.php @@ -26,17 +26,17 @@ /////////////////////////////////////////////////////////////////////////////////////////////////// //control base class -include 'types/base.php'; +include_once 'types/base.php'; //control types -include 'types/separator.php'; -include 'types/text.php'; -include 'types/textarea.php'; -include 'types/checkbox.php'; -include 'types/list.php'; -include 'types/note.php'; -include 'types/recaptcha.php'; -include 'types/file.php'; +include_once 'types/separator.php'; +include_once 'types/text.php'; +include_once 'types/textarea.php'; +include_once 'types/checkbox.php'; +include_once 'types/list.php'; +include_once 'types/note.php'; +include_once 'types/recaptcha.php'; +include_once 'types/file.php'; //'panel' helpers include 'types/panelhelper.php';