From 90d7cd3b75b303e4e2afd5727a3a8e5c754b9b6a Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 13 Feb 2007 16:03:06 +0000 Subject: Added PRADO version info in PRADO-generated directories to avoid upgrading issue --- HISTORY | 1 + framework/Web/TAssetManager.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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())); } /** -- cgit v1.2.3