@@ -198,4 +198,8 @@ class debug
public static function getBadge(string $_link,string $_label){
return '<a href="'. $_link .'" target="_blank" class="badge debug-badge">'. $_label .'</a>';
}
+
+ public static function printEnvironnement(){
+ echo (ENVIRONNEMENT != "PROD") ? " [ " . ENVIRONNEMENT . "]" : NULL;
+ }
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <title>CSE Invent :. CMS</title>
+ <title>CSE Invent :. CMS<?php debug::printEnvironnement() ?></title>
<?php pwa::printManifeste(); ?>