summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2007-08-23 17:42:34 +0000
committerxue <>2007-08-23 17:42:34 +0000
commit92449adc015a321b3476f81fe43b51e9dba829b5 (patch)
tree35f0cdb281f834162cbb2f3163698cf629bf1516
parent37587bd5c9911b232ad2f9c7bc51f6cf0199e0f3 (diff)
moved messages files.
-rw-r--r--.gitattributes6
-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
5 files changed, 5 insertions, 5 deletions
diff --git a/.gitattributes b/.gitattributes
index 48835320..b501c970 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1952,9 +1952,9 @@ framework/Data/TDbDataReader.php -text
framework/Data/TDbTransaction.php -text
framework/Exceptions/TErrorHandler.php -text
framework/Exceptions/TException.php -text
-framework/Exceptions/messages-id.txt -text
-framework/Exceptions/messages-zh.txt -text
-framework/Exceptions/messages.txt -text
+framework/Exceptions/messages/messages-id.txt -text
+framework/Exceptions/messages/messages-zh.txt -text
+framework/Exceptions/messages/messages.txt -text
framework/Exceptions/templates/error-fr.html -text
framework/Exceptions/templates/error-id.html -text
framework/Exceptions/templates/error-zh.html -text
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