mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°3169 - Add feature to connect Gsuite mail box with OAuth
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth * 2.7 migration (wip)
This commit is contained in:
@@ -24,8 +24,10 @@ class TwigHelper
|
||||
Extension::RegisterTwigExtensions($oTwig);
|
||||
$sLocalPath = utils::LocalPath($sViewPath);
|
||||
$sLocalPath = str_replace('env-'.utils::GetCurrentEnvironment(), 'twig', $sLocalPath);
|
||||
$sCachePath = utils::GetCachePath().$sLocalPath;
|
||||
$oTwig->setCache($sCachePath);
|
||||
if (!utils::IsDevelopmentEnvironment()) {
|
||||
$sCachePath = utils::GetCachePath().$sLocalPath;
|
||||
$oTwig->setCache($sCachePath);
|
||||
}
|
||||
|
||||
return $oTwig;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user