summaryrefslogtreecommitdiff
path: root/system/messages/kohana
diff options
context:
space:
mode:
authorTristan Zur <tzur@webserver.ccwn.org>2015-06-10 20:55:53 +0200
committerTristan Zur <tzur@webserver.ccwn.org>2015-06-10 20:55:53 +0200
commit406abd7c4df1ace2cd3e4e17159e8941a2e8c0c4 (patch)
treea324be16021f44f2fd6d55e609f47024e945b1db /system/messages/kohana
Initial import
Diffstat (limited to 'system/messages/kohana')
-rw-r--r--system/messages/kohana/core.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/system/messages/kohana/core.php b/system/messages/kohana/core.php
new file mode 100644
index 0000000..0fa66b0
--- /dev/null
+++ b/system/messages/kohana/core.php
@@ -0,0 +1,37 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+/**
+ * Core Kohana messages
+ *
+ * @package Kohana
+ * @author Kohana Team
+ * @copyright (c) 2009 Kohana Team
+ * @license http://kohanaphp.com/license
+ */
+$messages = array
+(
+ 'errors' => array
+ (
+ E_KOHANA => 'Framework Error',
+ E_PAGE_NOT_FOUND => 'Page Not Found',
+ E_DATABASE_ERROR => 'Database Error',
+ E_RECOVERABLE_ERROR => 'Recoverable Error',
+ E_ERROR => 'Fatal Error',
+ E_COMPILE_ERROR => 'Fatal Error',
+ E_CORE_ERROR => 'Fatal Error',
+ E_USER_ERROR => 'Fatal Error',
+ E_PARSE => 'Syntax Error',
+ E_WARNING => 'Warning Message',
+ E_COMPILE_WARNING => 'Warning Message',
+ E_CORE_WARNING => 'Warning Message',
+ E_USER_WARNING => 'Warning Message',
+ E_STRICT => 'Strict Mode Error',
+ E_NOTICE => 'Runtime Message',
+ E_USER_NOTICE => 'Runtime Message',
+ ),
+);
+
+// E_DEPRECATED is only defined in PHP >= 5.3.0
+if (defined('E_DEPRECATED'))
+{
+ $messages['errors'][E_DEPRECATED] = 'Deprecated';
+} \ No newline at end of file