From 6476d6507d99c1149d997d78bdaadcfeefd6e0a1 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Sun, 14 Jul 2019 15:21:12 +0200 Subject: [PATCH] Re-add deprecated Pico::getBaseThemeUrl() to maintain BC --- lib/Pico.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/Pico.php b/lib/Pico.php index f75f320..88102a8 100644 --- a/lib/Pico.php +++ b/lib/Pico.php @@ -2240,6 +2240,18 @@ class Pico return substr($path, $contentDirLength, -$contentExtLength) ?: null; } + /** + * Returns the URL of the themes folder of this Pico instance + * + * @deprecated 3.0.0 + * + * @return string + */ + public function getBaseThemeUrl() + { + return $this->getConfig('themes_url'); + } + /** * Returns the URL of a given absolute path within this Pico instance *