From f99e6059b1f6424d206910d24c6bac0c17759385 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Tue, 19 Oct 2010 00:52:36 +0000 Subject: [PATCH] BUGFIX Fixed File::getAbsoluteURL() absolute generation (from r109063) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112771 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- filesystem/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesystem/File.php b/filesystem/File.php index a08417756..a771143c1 100755 --- a/filesystem/File.php +++ b/filesystem/File.php @@ -518,7 +518,7 @@ class File extends DataObject { * @return string */ function getAbsoluteURL() { - return Director::absoluteBaseURL() . $this->getURL(); + return Director::absoluteBaseURL() . $this->getFilename(); } /**