This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Manages the build of admin-on-rest on windows | |
.DESCRIPTION | |
This powershell script attempts to implement the linux makefile for admin-on-rest for those users who may wish to | |
develop the system on a windows based operating system. | |
Examples: | |
1) To install required modules | |
./make.ps1 -install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1461,18 +1461,26 @@ function twig_get_attribute(Twig_Environment $env, Twig_Source $source, $object, | |
if ($object instanceof Twig_Template) { | |
throw new Twig_Error_Runtime('Accessing Twig_Template attributes is forbidden.'); | |
} | |
+ static $extensionSandbox = null; | |
+ if ($extensionSandbox === null) { | |
+ if ($env->hasExtension('Twig_Extension_Sandbox')) | |
+ $extensionSandbox = true; |