diff --git a/application/config/autoload.php b/application/config/autoload.php index 30fcc15d..be9f2d2f 100644 --- a/application/config/autoload.php +++ b/application/config/autoload.php @@ -65,7 +65,14 @@ $autoload['libraries'] = ['database', 'session']; | $autoload['helper'] = array('url', 'file'); */ -$autoload['helper'] = ['custom_exceptions', 'url', 'file', 'language', 'asset', 'config', 'render']; +$autoload['helper'] = [ + 'url', + 'file', + 'language', + 'asset', + 'config', + 'render' +]; /* diff --git a/application/helpers/custom_exceptions_helper.php b/application/helpers/custom_exceptions_helper.php deleted file mode 100644 index 0bc56f84..00000000 --- a/application/helpers/custom_exceptions_helper.php +++ /dev/null @@ -1,43 +0,0 @@ - - * @copyright Copyright (c) 2013 - 2020, Alex Tselegidis - * @license http://opensource.org/licenses/GPL-3.0 - GPLv3 - * @link http://easyappointments.org - * @since v1.0.0 - * ---------------------------------------------------------------------------- */ - -/** - * Print an exception to an HTML text. - * - * This method is used to display exceptions in a way that is useful and easy for the user to see. It uses the - * Bootstrap CSS accordion markup to display the message and when the user clicks on it the exception trace will be - * revealed. We display only one exceptions at a time because the user needs to be able to display the details of each - * exception separately. - * - * @param Exception $exception The exception to be displayed. - * - * @return string Returns the html markup of the exception. - */ -function exceptionToHtml($exception) -{ - return - '
-
- -
-
-
' . $exception->getTraceAsString() . '
-
-
-
-
'; -} diff --git a/application/views/appointments/book.php b/application/views/appointments/book.php index 7ab88663..5304ab2f 100755 --- a/application/views/appointments/book.php +++ b/application/views/appointments/book.php @@ -82,17 +82,6 @@ - -
-

- - - - -
- - -
diff --git a/application/views/appointments/book_success.php b/application/views/appointments/book_success.php index 875d2eb1..4cdcadad 100755 --- a/application/views/appointments/book_success.php +++ b/application/views/appointments/book_success.php @@ -48,16 +48,6 @@ - - -
-

- - - - -
-
diff --git a/application/views/appointments/message.php b/application/views/appointments/message.php index 352daa0d..657d6873 100644 --- a/application/views/appointments/message.php +++ b/application/views/appointments/message.php @@ -35,16 +35,8 @@

+

- - -
-

- - - -
-