summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Exceptions/TException.php4
-rw-r--r--framework/Exceptions/messages/messages-id.txt (renamed from framework/Exceptions/messages-id.txt)0
-rw-r--r--framework/Exceptions/messages/messages-zh.txt (renamed from framework/Exceptions/messages-zh.txt)0
-rw-r--r--framework/Exceptions/messages/messages.txt (renamed from framework/Exceptions/messages.txt)0
4 files changed, 2 insertions, 2 deletions
diff --git a/framework/Exceptions/TException.php b/framework/Exceptions/TException.php
index 6f9a8a3f..a74b76e4 100644
--- a/framework/Exceptions/TException.php
+++ b/framework/Exceptions/TException.php
@@ -84,9 +84,9 @@ class TException extends Exception
protected function getErrorMessageFile()
{
$lang=Prado::getPreferredLanguage();
- $msgFile=Prado::getFrameworkPath().'/Exceptions/messages-'.$lang.'.txt';
+ $msgFile=Prado::getFrameworkPath().'/Exceptions/messages/messages-'.$lang.'.txt';
if(!is_file($msgFile))
- $msgFile=Prado::getFrameworkPath().'/Exceptions/messages.txt';
+ $msgFile=Prado::getFrameworkPath().'/Exceptions/messages/messages.txt';
return $msgFile;
}
diff --git a/framework/Exceptions/messages-id.txt b/framework/Exceptions/messages/messages-id.txt
index c0cae947..c0cae947 100644
--- a/framework/Exceptions/messages-id.txt
+++ b/framework/Exceptions/messages/messages-id.txt
diff --git a/framework/Exceptions/messages-zh.txt b/framework/Exceptions/messages/messages-zh.txt
index ca6fdd02..ca6fdd02 100644
--- a/framework/Exceptions/messages-zh.txt
+++ b/framework/Exceptions/messages/messages-zh.txt
diff --git a/framework/Exceptions/messages.txt b/framework/Exceptions/messages/messages.txt
index 4ed84093..4ed84093 100644
--- a/framework/Exceptions/messages.txt
+++ b/framework/Exceptions/messages/messages.txt