mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 10:08:45 +02:00
N°2847 Add message on alpha/development fatal error pages 🤫
This commit is contained in:
@@ -2430,4 +2430,11 @@ class utils
|
||||
$e = new CoreException($sMessage, null, '', $oException);
|
||||
throw $e;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 3.0.0
|
||||
*/
|
||||
public static function IsEasterEggAllowed(){
|
||||
return (stripos(ITOP_VERSION, 'alpha') !== false) || utils::IsDevelopmentEnvironment();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user