From a7db73d475f9732f3c785f388732692e1cb23543 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 31 Mar 2007 13:30:05 +0000 Subject: Fixed #561. --- framework/PradoBase.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'framework/PradoBase.php') diff --git a/framework/PradoBase.php b/framework/PradoBase.php index aab9aac8..16a27b08 100644 --- a/framework/PradoBase.php +++ b/framework/PradoBase.php @@ -103,7 +103,14 @@ class PradoBase */ public static function poweredByPrado() { - return 'Powered by PRADO'; + if(self::$_application!==null) + { + $am=self::$_application->getAssetManager(); + $url=$am->publishFilePath(self::getPathOfNamespace('System.powered','.gif')); + } + else + $url='http://www.pradosoft.com/images/powered.gif'; + return 'Powered by PRADO'; } /** -- cgit v1.2.3