|
8 | 8 | * License: GNU/GPLv2 |
9 | 9 | * @see LICENSE.txt |
10 | 10 | * |
11 | | - * This file: Front-end handler (last modified: 2020.12.03). |
| 11 | + * This file: Front-end handler (last modified: 2021.01.10). |
12 | 12 | */ |
13 | 13 |
|
14 | 14 | namespace phpMussel\FrontEnd; |
@@ -691,7 +691,7 @@ public function view(string $Page = '') |
691 | 691 |
|
692 | 692 | /** Fetch remote phpMussel version information and cache it if necessary. */ |
693 | 693 | if (!($RemoteYAMLphpMussel = $this->Loader->Cache->getEntry('phpmussel-ver.yaml'))) { |
694 | | - $RemoteYAMLphpMussel = $this->Loader->request($RemoteVerPath . 'phpmussel-ver.yaml', [], 8); |
| 694 | + $RemoteYAMLphpMussel = $this->Loader->Request->request($RemoteVerPath . 'phpmussel-ver.yaml', [], 8); |
695 | 695 | $this->Loader->Cache->setEntry('phpmussel-ver.yaml', $RemoteYAMLphpMussel ?: '-', 86400); |
696 | 696 | } |
697 | 697 |
|
@@ -731,7 +731,7 @@ public function view(string $Page = '') |
731 | 731 |
|
732 | 732 | /** Fetch remote PHP version information and cache it if necessary. */ |
733 | 733 | if (!($RemoteYamlPHP = $this->Loader->Cache->getEntry('php-ver.yaml'))) { |
734 | | - $RemoteYamlPHP = $this->Loader->request($RemoteVerPath . 'php-ver.yaml', [], 8); |
| 734 | + $RemoteYamlPHP = $this->Loader->Request->request($RemoteVerPath . 'php-ver.yaml', [], 8); |
735 | 735 | $this->Loader->Cache->setEntry('php-ver.yaml', $RemoteYamlPHP ?: '-', 86400); |
736 | 736 | } |
737 | 737 |
|
@@ -1245,7 +1245,7 @@ public function view(string $Page = '') |
1245 | 1245 | $ThisDir['FieldOut'] .= sprintf( |
1246 | 1246 | '<input type="checkbox" class="auto" name="%1$s" id="%1$s"%2$s /><label for="%1$s" class="s">%3$s</label><br />', |
1247 | 1247 | $ThisDir['DirLangKey'] . '_' . $ChoiceKey, |
1248 | | - $this->Loader->inCsv($ChoiceKey, $this->Loader->Configuration[$CatKey][$DirKey]) ? ' checked' : '', |
| 1248 | + $this->Loader->Request->inCsv($ChoiceKey, $this->Loader->Configuration[$CatKey][$DirKey]) ? ' checked' : '', |
1249 | 1249 | $ChoiceValue |
1250 | 1250 | ); |
1251 | 1251 | } else { |
|
0 commit comments