Merge 10.1.02
This commit is contained in:
parent
1515579141
commit
1cc2f5e225
@ -10,6 +10,11 @@
|
|||||||
- Thème de l'administration, amélioration du rendu.
|
- Thème de l'administration, amélioration du rendu.
|
||||||
- Image tag : adaptatations suit à la modification de l'API Google.
|
- Image tag : adaptatations suit à la modification de l'API Google.
|
||||||
|
|
||||||
|
## version 10.1.002
|
||||||
|
- Corrections :
|
||||||
|
- free.fr : désactivation totale de la fonction de récupération de données en ligne (update, image tag, etc..)
|
||||||
|
- Image Tag absente : non régénérée au lancement de la configuration du site, image masquée dans si absente.
|
||||||
|
|
||||||
## version 10.1.001
|
## version 10.1.001
|
||||||
- Correction :
|
- Correction :
|
||||||
- Extension image tag.
|
- Extension image tag.
|
||||||
|
@ -24,6 +24,10 @@ class helper {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
public static function urlGetContents ($url) {
|
public static function urlGetContents ($url) {
|
||||||
|
// Ejecter free.fr
|
||||||
|
if (strpos(self::baseUrl(),'free.fr') > 0 ){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if(function_exists('file_get_contents') &&
|
if(function_exists('file_get_contents') &&
|
||||||
ini_get('allow_url_fopen') ){
|
ini_get('allow_url_fopen') ){
|
||||||
$url_get_contents_data = @file_get_contents($url); // Masque un warning éventuel
|
$url_get_contents_data = @file_get_contents($url); // Masque un warning éventuel
|
||||||
|
@ -270,7 +270,7 @@ class config extends common {
|
|||||||
}
|
}
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
'notification' => $success === true ? 'Image tag réinitialisée' : 'Erreur : image tag non créée',
|
'notification' => $success === true ? 'Image Open Graph réinitialisée' : 'Erreur : image Open Graph non créée',
|
||||||
'redirect' => helper::baseUrl() . 'config',
|
'redirect' => helper::baseUrl() . 'config',
|
||||||
'state' => $success
|
'state' => $success
|
||||||
]);
|
]);
|
||||||
|
@ -241,7 +241,7 @@
|
|||||||
<div class="col6">
|
<div class="col6">
|
||||||
<?php echo template::button('configSiteMap', [
|
<?php echo template::button('configSiteMap', [
|
||||||
'href' => helper::baseUrl() . 'config/generateFiles',
|
'href' => helper::baseUrl() . 'config/generateFiles',
|
||||||
'value' => 'sitemap.xml / robots.txt',
|
'value' => 'Sitemap.xml / Robots.txt',
|
||||||
'ico' => 'pencil'
|
'ico' => 'pencil'
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user