summaryrefslogtreecommitdiff
path: root/framework/Exceptions
diff options
context:
space:
mode:
authorxue <>2007-08-23 17:42:34 +0000
committerxue <>2007-08-23 17:42:34 +0000
commit92449adc015a321b3476f81fe43b51e9dba829b5 (patch)
tree35f0cdb281f834162cbb2f3163698cf629bf1516 /framework/Exceptions
parent37587bd5c9911b232ad2f9c7bc51f6cf0199e0f3 (diff)
moved messages files.
Diffstat (limited to 'framework/Exceptions')
-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