From 74bea0d5707bd1fccb3bb00c61007b8240945b9e Mon Sep 17 00:00:00 2001 From: Thomas Skerbis Date: Tue, 10 Oct 2017 13:10:49 +0200 Subject: [PATCH] renaming stuff --- lib/yrewrite_scheme_urlscheme.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/yrewrite_scheme_urlscheme.php b/lib/yrewrite_scheme_urlscheme.php index f37dce5..086adab 100644 --- a/lib/yrewrite_scheme_urlscheme.php +++ b/lib/yrewrite_scheme_urlscheme.php @@ -11,7 +11,7 @@ public function getRedirection(rex_article $art, rex_yrewrite_domain $domain) { } public function appendArticle($path, rex_article $art, rex_yrewrite_domain $domain) { - $path_suffix = rex_config::get('url_scheme', 'suffix'); + $path_suffix = rex_config::get('yrewrite_scheme', 'suffix'); return $path .$path_suffix ; } } @@ -27,14 +27,14 @@ public function getRedirection(rex_article $art, rex_yrewrite_domain $domain) return false; } public function appendArticle($path, rex_article $art, rex_yrewrite_domain $domain) { - $path_suffix = rex_config::get('url_scheme', 'suffix'); + $path_suffix = rex_config::get('yrewrite_scheme', 'suffix'); return $path .$path_suffix ; } } class yrewrite_scheme_suffix extends rex_yrewrite_scheme { public function appendArticle($path, rex_article $art, rex_yrewrite_domain $domain) { - $path_suffix = rex_config::get('url_scheme', 'suffix'); + $path_suffix = rex_config::get('yrewrite_scheme', 'suffix'); if ($art->isStartArticle() && $domain->getMountId() != $art->getId()) { return $path . $path_suffix; } @@ -50,7 +50,7 @@ public function appendCategory($path, rex_category $cat, rex_yrewrite_domain $do } public function appendArticle($path, rex_article $art, rex_yrewrite_domain $domain) { - $suffix_content = rex_config::get('url_scheme', 'suffix'); + $suffix_content = rex_config::get('yrewrite_scheme', 'suffix'); return $path . '/' . $this->normalize($art->getName(), $art->getClang()) . $path_suffix; } }