diff --git a/src/application/views/errors/cli/error_404.php b/src/application/views/errors/cli/error_404.php new file mode 100644 index 00000000..6984b61e --- /dev/null +++ b/src/application/views/errors/cli/error_404.php @@ -0,0 +1,8 @@ + + +An uncaught Exception was encountered + +Type: +Message: +Filename: getFile(), "\n"; ?> +Line Number: getLine(); ?> + + + +Backtrace: +getTrace() as $error): ?> + + File: + Line: + Function: + + + + diff --git a/src/application/views/errors/cli/error_general.php b/src/application/views/errors/cli/error_general.php new file mode 100644 index 00000000..6984b61e --- /dev/null +++ b/src/application/views/errors/cli/error_general.php @@ -0,0 +1,8 @@ + + +A PHP Error was encountered + +Severity: +Message: +Filename: +Line Number: + + + +Backtrace: + + + File: + Line: + Function: + + + + diff --git a/src/application/views/errors/cli/index.html b/src/application/views/errors/cli/index.html new file mode 100644 index 00000000..b702fbc3 --- /dev/null +++ b/src/application/views/errors/cli/index.html @@ -0,0 +1,11 @@ + + +
+Directory access is forbidden.
+ + + diff --git a/src/application/errors/error_404.php b/src/application/views/errors/html/error_404.php similarity index 100% rename from src/application/errors/error_404.php rename to src/application/views/errors/html/error_404.php diff --git a/src/application/errors/error_db.php b/src/application/views/errors/html/error_db.php similarity index 100% rename from src/application/errors/error_db.php rename to src/application/views/errors/html/error_db.php diff --git a/src/application/views/errors/html/error_exception.php b/src/application/views/errors/html/error_exception.php new file mode 100644 index 00000000..87848866 --- /dev/null +++ b/src/application/views/errors/html/error_exception.php @@ -0,0 +1,32 @@ + + +Type:
+Message:
+Filename: getFile(); ?>
+Line Number: getLine(); ?>
+ + + +Backtrace:
+ getTrace() as $error): ?> + + + +
+ File:
+ Line:
+ Function:
+