From c1f9b1f7b1b77776192048005dcc66dcf3df2bfb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 27 Dec 2014 15:41:37 +0100 Subject: Update to MediaWiki 1.24.1 --- includes/resourceloader/ResourceLoaderFilePath.php | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 includes/resourceloader/ResourceLoaderFilePath.php (limited to 'includes/resourceloader/ResourceLoaderFilePath.php') diff --git a/includes/resourceloader/ResourceLoaderFilePath.php b/includes/resourceloader/ResourceLoaderFilePath.php new file mode 100644 index 00000000..dd239d09 --- /dev/null +++ b/includes/resourceloader/ResourceLoaderFilePath.php @@ -0,0 +1,74 @@ +path = $path; + $this->localBasePath = $localBasePath; + $this->remoteBasePath = $remoteBasePath; + } + + /** + * @return string + */ + public function getLocalPath() { + return "{$this->localBasePath}/{$this->path}"; + } + + /** + * @return string + */ + public function getRemotePath() { + return "{$this->remoteBasePath}/{$this->path}"; + } + + /** + * @return string + */ + public function getPath() { + return $this->path; + } +} -- cgit v1.2.3-54-g00ecf