summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2007-02-13 16:03:06 +0000
committerxue <>2007-02-13 16:03:06 +0000
commit90d7cd3b75b303e4e2afd5727a3a8e5c754b9b6a (patch)
treec34b8056e35142d3f55ace25393fc0a931995f5b
parentfd0033951e533a6a9b7bd870e1f118354b5f84d1 (diff)
Added PRADO version info in PRADO-generated directories to avoid upgrading issue
-rw-r--r--HISTORY1
-rw-r--r--framework/Web/TAssetManager.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index ee8c5758..6e7c19c0 100644
--- a/HISTORY
+++ b/HISTORY
@@ -11,6 +11,7 @@ ENH: Added Display property to TWebControl (Wei)
ENH: Added TUser.getState() and setState() for storing user session data (Qiang)
ENH: Added renderer feature to TRepeater, TDataList and TDataGrid (Qiang)
ENH: Added support to include external application configuration files (Qiang)
+ENH: Added PRADO version info in PRADO-generated directories to avoid upgrading issue (Qiang)
NEW: TShellApplication (Qiang)
NEW: Active Record driver for IBM DB2 (Cesar Ramos)
diff --git a/framework/Web/TAssetManager.php b/framework/Web/TAssetManager.php
index 41c3216a..77bd04f6 100644
--- a/framework/Web/TAssetManager.php
+++ b/framework/Web/TAssetManager.php
@@ -218,7 +218,7 @@ class TAssetManager extends TModule
*/
protected function hash($dir)
{
- return sprintf('%x',crc32($dir));
+ return sprintf('%x',crc32($dir.Prado::getVersion()));
}
/**