From 6e7477acf0e9173dc1ba8cc41648f89de1acb3d3 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sun, 25 Mar 2007 22:17:23 +0000 Subject: [PATCH] Rename getPath to getWebPath, which is more accurate. git-svn-id: http://htmlpurifier.org/svnroot@899 48356398-32a2-884e-a903-53898d9a118a --- xhtml-compiler/XHTMLCompiler/DOMFilter/RSSGenerator.php | 2 +- xhtml-compiler/XHTMLCompiler/Page.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xhtml-compiler/XHTMLCompiler/DOMFilter/RSSGenerator.php b/xhtml-compiler/XHTMLCompiler/DOMFilter/RSSGenerator.php index 3a689af..de44219 100644 --- a/xhtml-compiler/XHTMLCompiler/DOMFilter/RSSGenerator.php +++ b/xhtml-compiler/XHTMLCompiler/DOMFilter/RSSGenerator.php @@ -37,7 +37,7 @@ class XHTMLCompiler_DOMFilter_RSSGenerator extends XHTMLCompiler_DOMFilter // get data from the document $location = $link->getAttribute('href'); $title = $link->getAttribute('title'); - $path = $page->getPath(); + $path = $page->getWebPath(); // remove specialized attributes $id = $this->confiscateAttr($link, $this->ns, 'for'); diff --git a/xhtml-compiler/XHTMLCompiler/Page.php b/xhtml-compiler/XHTMLCompiler/Page.php index a85a400..02f43fc 100644 --- a/xhtml-compiler/XHTMLCompiler/Page.php +++ b/xhtml-compiler/XHTMLCompiler/Page.php @@ -99,7 +99,7 @@ class XHTMLCompiler_Page /** * Returns a fully formed web path to the file */ - public function getPath() { + public function getWebPath() { $xc = XHTMLCompiler::getInstance(); $domain = $xc->getConf('web_domain'); if (!$domain) { -- 2.11.4.GIT